Commit 87e754cd authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8b62f868
...@@ -71,11 +71,11 @@ func TestΔTail(t *testing.T) { ...@@ -71,11 +71,11 @@ func TestΔTail(t *testing.T) {
// SliceByRev // SliceByRev
fmt.Printf("\nwhole: (%s, %s] %v\n", δtail.Tail(), δtail.Head(), tailv)
// check that δtail.SliceByRev(rlo, rhi) == tailv[ilo:ihi). // check that δtail.SliceByRev(rlo, rhi) == tailv[ilo:ihi).
//fmt.Printf("\nwhole: (%s, %s] %v\n", δtail.Tail(), δtail.Head(), tailv)
sliceByRev := func(rlo, rhi Tid, ilo, ihi int) { sliceByRev := func(rlo, rhi Tid, ilo, ihi int) {
t.Helper() t.Helper()
fmt.Printf("(%s, %s] -> [%d:%d)\n", rlo, rhi, ilo, ihi) //fmt.Printf("(%s, %s] -> [%d:%d)\n", rlo, rhi, ilo, ihi)
have := δtail.SliceByRev(rlo, rhi) have := δtail.SliceByRev(rlo, rhi)
want := tailv[ilo:ihi] want := tailv[ilo:ihi]
if !tailvEqual(have, want) { if !tailvEqual(have, want) {
......
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