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
db500e57
Commit
db500e57
authored
May 11, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
effe6404
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
23 deletions
+21
-23
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+21
-23
No files found.
wcfs/δbtail_test.go
View file @
db500e57
...
@@ -1307,29 +1307,6 @@ func TestΔBTail(t *testing.T) {
...
@@ -1307,29 +1307,6 @@ func TestΔBTail(t *testing.T) {
// test known cases going through tree1 -> tree2 -> ...
// test known cases going through tree1 -> tree2 -> ...
testv
:=
[]
interface
{}
{
testv
:=
[]
interface
{}
{
// XXX TODO classify
"T2/B1:a-B7:g"
,
"T2,8/B1:a-B7:g-B9:i"
,
"T2/B1:a-B2:b"
,
"T/B1:a,2:b"
,
"T2,3/B1:a-B2:b-B3:c"
,
"T/B1:a,2:b"
,
"T2,3/B1:a-B2:c-B3:c"
,
"T/B1:a,2:b"
,
"T2/B1:a-B2:c"
,
"T2,3/B1:a-B2:c-B3:c"
,
"T2/B1:a-B3:c"
,
Δ
(
"T2/T-T4/B1:b-B3:d-B99:h"
,
A
{
1
:
K
(
1
),
3
:
K
(
3
),
99
:
K
(
3
,
99
),
oo
:
K
(
3
,
99
,
oo
)}),
// XXX --------
// tree rotation
"T3/B2:b-B3:c,4:d"
,
"T5/T3-T7/B2:a-B3:a,4:a-B6:a-B8:a"
,
// XXX --------
"T/B:"
,
"T/B:"
,
// +1
// +1
...
@@ -1488,6 +1465,27 @@ func TestΔBTail(t *testing.T) {
...
@@ -1488,6 +1465,27 @@ func TestΔBTail(t *testing.T) {
// found by AllStructs (SIGSEGV in ApplyΔ)
// found by AllStructs (SIGSEGV in ApplyΔ)
"T1/T-T2/T-B1:c-B2:c/B0:g"
,
"T1/T-T2/T-B1:c-B2:c/B0:g"
,
"T1/T-T/B0:g-T/B1:e"
,
"T1/T-T/B0:g-T/B1:e"
,
// XXX TODO classify
"T2/B1:a-B7:g"
,
"T2,8/B1:a-B7:g-B9:i"
,
"T2/B1:a-B2:b"
,
"T/B1:a,2:b"
,
"T2,3/B1:a-B2:b-B3:c"
,
"T/B1:a,2:b"
,
"T2,3/B1:a-B2:c-B3:c"
,
"T/B1:a,2:b"
,
"T2/B1:a-B2:c"
,
"T2,3/B1:a-B2:c-B3:c"
,
"T2/B1:a-B3:c"
,
Δ
(
"T2/T-T4/B1:b-B3:d-B99:h"
,
A
{
1
:
K
(
1
),
3
:
K
(
3
),
99
:
K
(
3
,
99
),
oo
:
K
(
3
,
99
,
oo
)}),
// XXX --------
// tree rotation
"T3/B2:b-B3:c,4:d"
,
"T5/T3-T7/B2:a-B3:a,4:a-B6:a-B8:a"
,
}
}
// direct tree_i -> tree_{i+1} -> _{i+2} ... plus
// direct tree_i -> tree_{i+1} -> _{i+2} ... plus
// reverse ... tree_i <- _{i+1} <- _{i+2}
// reverse ... tree_i <- _{i+1} <- _{i+2}
...
...
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