Commit 0305f0f7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8937df90
...@@ -150,6 +150,8 @@ def test_allStructs(): ...@@ -150,6 +150,8 @@ def test_allStructs():
assert X([1,3], 0, 0) == [ T([], B(1,3)) ] assert X([1,3], 0, 0) == [ T([], B(1,3)) ]
assert Y([1,3], 0, 0) == [ T([], B(1,3)) ]
assert X([1,3], 0, 1) == [ T([], B(1,3)), assert X([1,3], 0, 1) == [ T([], B(1,3)),
# nsplit=1 # nsplit=1
T([0], B(), B(1,3)), T([0], B(), B(1,3)),
...@@ -158,6 +160,11 @@ def test_allStructs(): ...@@ -158,6 +160,11 @@ def test_allStructs():
T([3], B(1), B(3)), T([3], B(1), B(3)),
T([4], B(1,3), B()), T([4], B(1,3), B()),
] ]
assert Y([1,3], 0, 1) == [ T([], B(1,3)),
# nsplit=1
T([2], B(1), B(3)),
T([3], B(1), B(3)),
]
assert X([1,3], 1, 0) == [ T([], B(1,3)), assert X([1,3], 1, 0) == [ T([], B(1,3)),
# depth=1 # depth=1
......
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