Commit eae83f34 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5cfbf73d
...@@ -525,6 +525,12 @@ def test_restructure(): ...@@ -525,6 +525,12 @@ def test_restructure():
assert isinstance(kids[1], LOBucket) assert isinstance(kids[1], LOBucket)
assert crack_bucket(kids[0]) == ([1], [X[1]]) assert crack_bucket(kids[0]) == ([1], [X[1]])
assert crack_bucket(kids[1]) == ([3], [X[3]]) assert crack_bucket(kids[1]) == ([3], [X[3]])
R(z, 'T/B1,3')
kind, keys, kids = crack_btree(z)
assert (kind, keys) == (BTREE_NORMAL, [])
assert len(kids) == 1
assert isinstance(kids[0], LOBucket)
assert crack_btree(kids[0]) == ([1,3], [X[1], X[3]])
# XXX tree with one committed bucket # XXX tree with one committed bucket
......
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