Commit 19b49305 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3cb3f658
...@@ -254,31 +254,8 @@ def test_AllStructs(): ...@@ -254,31 +254,8 @@ def test_AllStructs():
# nsplit=1,(1,1) -> ø # nsplit=1,(1,1) -> ø
] ]
# XXX tests for maxsplit=2 / maxdepth=2 ?
return # (if yes -> compare with set, not exact order, and use topoencoding on the right)
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