Commit 1b403119 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ae2730be
......@@ -440,6 +440,7 @@ func treediff(ctx context.Context, root zodb.Oid, δZT SetOid, trackIdx map[zodb
// XXX zconnX -> a, b ?
fmt.Printf("treediff %s δZT: %v\n", root, δZT)
defer fmt.Printf("\n")
// XXX δZT -> δZTC (all changed nodes are connected)
// e.g. t₀->t₁->b₂ δZ={t₀ b₂} -> δZC=δZ+{t₁}
......
......@@ -723,6 +723,7 @@ func testΔBTail(t *testing.T, testq chan ΔBTestEntry) {
xkv2 := XGetTree(db, at2, tg.treeRoot)
subj := fmt.Sprintf("%s -> %s", tree1, tree2)
fmt.Printf("\n\n\n**** %s ****\n\n\n", subj)
xverifyΔBTail(t, subj, db, tg.treeRoot, at1,at2, xkv1,xkv2, δZ, test.kadjOK)
at1 = at2
......@@ -752,6 +753,7 @@ func TestΔBTail(t *testing.T) {
// test known cases going through tree1 -> tree2 -> ...
testv := []interface{} {
///*
"T/B:",
// +1
......@@ -770,6 +772,7 @@ func TestΔBTail(t *testing.T) {
A{1: K(1,2),
2: K(1,2),
oo: K(1,2)}),
//*/
// 2: b->c
Δ("T/B2:c",
......
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