Commit 805a9653 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 17414964
...@@ -99,7 +99,7 @@ def test_AllStructs(): ...@@ -99,7 +99,7 @@ def test_AllStructs():
assert X([1,3], 0, 0) == [ T([], B(1,3)) ] assert X([1,3], 0, 0) == [ T([], B(1,3)) ]
assert X([1,3], 0, 1) == [ T([], B(1,3)), assert X([1,3], 0, 1) == X([1,3], 0,0) + [
# nsplit=1 # nsplit=1
T([0], B(), B(1,3)), T([0], B(), B(1,3)),
T([1], B(), B(1,3)), T([1], B(), B(1,3)),
...@@ -108,12 +108,14 @@ def test_AllStructs(): ...@@ -108,12 +108,14 @@ def test_AllStructs():
T([4], B(1,3), B()), T([4], B(1,3), B()),
] ]
assert X([1,3], 1, 0) == [ T([], B(1,3)), assert X([1,3], 1, 0) == X([1,3], 0,0) + [
# depth=1 # depth=1
T([], T([],
T([], B(1,3))) T([], B(1,3)))
] ]
return
assert X([1,3], 1, 1) == [ T([], B(1,3)), assert X([1,3], 1, 1) == [ T([], B(1,3)),
# nsplit=0,0, depth=1 # nsplit=0,0, depth=1
T([], T([],
......
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