Commit 788cfd92 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8f43c4e1
......@@ -368,17 +368,13 @@ def test_restructure():
R(z, 'T/T/B')
kind, keys, kids = crack_btree(z)
assert kind, keys == (BTREE_NORMAL, [])
assert len(kids) == 0
assert len(kids) == 1
assert isinstance(kids[0], XLOTree)
kind, keys, kids = crack_btree(kids[0])
"""
assert kind, keys == (BTREE_NORMAL, []) # XXX or should it be BTREE_ONE here?
# XXX no: we need to wire bucket->next properly
assert kind, keys == (BTREE_NORMAL, [])
assert len(kids) == 0
assert isinstance(kids[0], LOBucket)
assert kids[0].keys() == []
"""
assert kind == BTREE_EMPTY
# ø -> T/T-B/B
z = Z0()
......
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