ceremonyclient/pebble/testdata/point_collapsing_iter

68 lines
631 B
Plaintext
Raw Permalink Normal View History

2024-01-03 07:31:42 +00:00
define
a.SET.5:foo
b.SET.6:foo
b.DEL.4:
c.SET.7:bar
c.SET.5:foo
----
iter
first
next
next
next
next
----
a#5,1:foo
b#6,1:foo
c#7,1:bar
.
.
# Ensure that we pause at (and return) rangedel start points correctly.
define
a.RANGEDEL.4:b
a.SET.5:foo
b.RANGEDEL.3:c
b.SET.6:foo
b.DEL.4:
c.SET.7:bar
c.SET.5:foo
----
iter
seek-ge b
next
next
----
b#72057594037927935,15:
b#6,1:foo
c#7,1:bar
# More rangedel elision tests
define
a.RANGEDEL.4:b
a.SET.5:foo
b.RANGEDEL.4:c
b.SET.3:foo
b.DEL.2:
c.SET.7:bar
c.SET.5:foo
----
iter
seek-ge a
next
next
next
next
----
a#72057594037927935,15:
a#5,1:foo
b#72057594037927935,15:
c#7,1:bar
.