Commit 2457af00 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8bccfd9a
......@@ -309,11 +309,12 @@ def test_restructure():
assert bcheck.crack_btree() == BTREE_EMPTY, [], []
return z
# ø -> T/B
z = Z0()
R(z, 'T/B')
assert bcheck.crack_btree(z) == BTREE_NORMAL, [], IOBucket()
# ø -> T/T/B
z = Z0()
R(z, 'T/T/B')
kind, keys, kids = bcheck.crack_btree(z)
......@@ -326,6 +327,10 @@ def test_restructure():
assert isinstance(kids[0], IOBucket)
assert kids[0].keys() == []
# XXX ø -> T/T-B/B
# XXX ø -> T/B-T/B
# XXX ø -> T/T-T/B-B
# tree with one not-yet committed bucket
z = Z(1, 3)
......
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