Commit f33e0917 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 03f27262
......@@ -67,9 +67,11 @@ def test_topologyOf():
(((), ()), (6, 10)),
"""
def test_iterStructPermutations():
def test_iterAllStructs():
T = xbtree.Tree
B = xbtree.Bucket
def X(keys, maxdepth, maxsplit):
return list(xbtree.iterAllStructPermutations(keys, maxdepth, maxsplit))
return list(xbtree.IterAllStructs(keys, maxdepth, maxsplit))
assert X([], 0, 0) == [ T([], B()) ]
assert X([1], 0, 0) == [ T([], B(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