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
c4a7a252
Commit
c4a7a252
authored
May 18, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
659a2362
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
wcfs/internal/xbtree_test.py
wcfs/internal/xbtree_test.py
+14
-0
No files found.
wcfs/internal/xbtree_test.py
View file @
c4a7a252
...
@@ -656,6 +656,20 @@ def test_restructure():
...
@@ -656,6 +656,20 @@ def test_restructure():
assertB
(
b6
,
6
)
assertB
(
b6
,
6
)
assertB
(
b78
,
7
,
8
)
assertB
(
b78
,
7
,
8
)
# migrate keys in between buckets
R
(
z
,
'T6/T3-T8/B1-B3,5-B6,7-B8'
)
assertT
(
z
,
[
6
],
tl
,
tr
)
assertT
(
tl
,
[
3
],
b13
,
b5
)
assertT
(
tr
,
[
8
],
b6
,
b78
)
b1
=
b13
;
del
b13
b35
=
b5
;
del
b5
b67
=
b6
;
del
b6
b8
=
b78
;
del
b78
assertB
(
b1
,
1
)
assertB
(
b35
,
3
,
5
)
assertB
(
b67
,
6
,
7
)
assertB
(
b8
,
8
)
#for nkeys in range(5):
#for nkeys in range(5):
...
...
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