Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
53b6613b
Commit
53b6613b
authored
Jun 07, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3688fa8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
wcfs/internal/xbtree/δbtail_test.go
wcfs/internal/xbtree/δbtail_test.go
+6
-5
No files found.
wcfs/internal/xbtree/δbtail_test.go
View file @
53b6613b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment