Commit a7510288 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 88d82e3a
......@@ -99,7 +99,6 @@ def test_iterAllStructs():
assert X([1,3], 0, 0) == [ T([], B(1,3)) ]
print('\n\nAAA\n\n')
assert X([1,3], 0, 1) == [ T([], B(1,3)),
T([0], B(), B(1,3)),
T([1], B(), B(1,3)),
......@@ -108,5 +107,26 @@ def test_iterAllStructs():
T([4], B(1,3), B()),
]
print('\n\nAAA\n\n')
assert X([1,3], 0, 2) == [ T([], B(1,3)),
# nsplit=1
T([0], B(), B(1,3)),
T([1], B(), B(1,3)),
T([2], B(1), B(3)),
T([3], B(1), B(3)),
T([4], B(1,3), B()),
# nsplit=2
T([0,1], B(), B(), B(1,3)),
T([0,2], B(), B(1), B(3)),
T([0,3], B(), B(1), B(3)),
T([0,4], B(), B(1,3), B()),
T([1,2], B(), B(1), B(3)),
T([1,3], B(), B(1), B(3)),
T([1,4], B(), B(1,3), B()),
T([2,3], B(1), B(), B(3)),
T([2,4], B(1), B(3), B()),
T([3,4], B(1), B(3), B()),
]
# XXX ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment