0

Update test_posttraverse to match expanding order

This commit is contained in:
Johan Kiviniemi
2013-12-25 06:12:18 +02:00
parent 66fb4afb5c
commit 2252b1e69b

View File

@@ -144,46 +144,46 @@ class RendertileSetTest(unittest.TestCase):
"""Test a post-traversal of the tree's dirty tiles""" """Test a post-traversal of the tree's dirty tiles"""
# Expect these results in this proper order. # Expect these results in this proper order.
expected_list = [ expected_list = [
(0,0,0), (0,0,3),
(0,0,1), (0,0,1),
(0,0,2), (0,0,2),
(0,0,3), (0,0,0),
(0,0), (0,0),
(0,), (0,),
(1,2,0),
(1,2),
(1,0,3), (1,0,3),
(1,0), (1,0),
(1,1,3), (1,1,3),
(1,1), (1,1),
(1,2,0),
(1,2),
(1,), (1,),
(2,0,0),
(2,0,1),
(2,0,2),
(2,0,3),
(2,0),
(2,1,0),
(2,1,1), (2,1,1),
(2,1,2), (2,1,0),
(2,1,3), (2,1,3),
(2,1,2),
(2,1), (2,1),
(2,2,0), (2,0,1),
(2,2,1), (2,0,3),
(2,2,2), (2,0,0),
(2,2,3), (2,0,2),
(2,2), (2,0),
(2,3,0),
(2,3,1), (2,3,1),
(2,3,2), (2,3,0),
(2,3,3), (2,3,3),
(2,3,2),
(2,3), (2,3),
(2,2,1),
(2,2,0),
(2,2,3),
(2,2,2),
(2,2),
(2,), (2,),
# We should expect the root tile to need rendering too. # We should expect the root tile to need rendering too.