aboutsummaryrefslogtreecommitdiff
path: root/sketch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sketch_test.go')
-rw-r--r--sketch_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/sketch_test.go b/sketch_test.go
index 86a2c58..074bffd 100644
--- a/sketch_test.go
+++ b/sketch_test.go
@@ -24,6 +24,16 @@ func TestSketchChunk(t *testing.T) {
t.Errorf("Sketch does not match, expected: %d, actual: %d", expected, sketch)
}
}
+ if i == 14 {
+ sketch, err := SketchChunk(c, 32, 3, 4)
+ if err != nil {
+ t.Error(err)
+ }
+ expected := Sketch{658454504014104}
+ if !reflect.DeepEqual(sketch, expected) {
+ t.Errorf("Sketch does not match, expected: %d, actual: %d", expected, sketch)
+ }
+ }
i++
}
}