From 129a86b3a6780b7aee5a7469cc5adeaf2ea6c20f Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 27 Aug 2021 18:38:07 +0200 Subject: add findSimilarChunks method to test sketches Still missing a real test... --- sketch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sketch_test.go') diff --git a/sketch_test.go b/sketch_test.go index ac4ab70..2f568e6 100644 --- a/sketch_test.go +++ b/sketch_test.go @@ -20,7 +20,7 @@ func TestSketchChunk(t *testing.T) { if err != nil { t.Error(err) } - expected := []uint64{429857165471867, 6595034117354675, 8697818304802825} + expected := Sketch{429857165471867, 6595034117354675, 8697818304802825} if !cmp.Equal(sketch, expected) { t.Errorf("Sketch does not match, expected: %d, actual: %d", expected, sketch) } -- cgit v1.2.3