Commit 53b6613b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3688fa8c
......@@ -1455,6 +1455,8 @@ func TestΔBTail(t *testing.T) {
// test known cases going through tree1 -> tree2 -> ...
testv := []interface{} {
// XXX add test where kadj does not grow to -oo,oo (start from several buckets)
// start from non-empty tree to verify both ->empty and empty-> transitions
"T/B1:a,2:b",
......@@ -1541,13 +1543,12 @@ func TestΔBTail(t *testing.T) {
"T2,5,8/B1:a-B2:b,3:c-B5:e,6:f-B8:h,9:i",
// depth=2; bucket split; +3 in new bucket; left T remain
// _unchanged_ even though B under it is modified; right arm is
// added to tracking set because 2 migrates there.
// _unchanged_ even though B under it is modified.
"T/T/B1:a,2:b",
Δ("T2/T-T/B1:a-B2:b,3:c",
A{1: K(1,2,3),
2: K(1,2,3),
3: K(1,2,3),
A{1: K(1,2,3,oo),
2: K(1,2,3,oo),
3: K(1,2,3,oo),
oo: K(1,2,3,oo)}),
// depth=2; like prev. case, but additional right arm with +4
......
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