diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-08-27 18:38:07 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-08-27 18:38:16 +0200 |
commit | 129a86b3a6780b7aee5a7469cc5adeaf2ea6c20f (patch) | |
tree | ab8423f6885c380b2bb4d807313428003d8d5e37 /sketch_test.go | |
parent | 78251f11c91b2504edfc02b760ef53bd352b856c (diff) | |
download | dna-backup-129a86b3a6780b7aee5a7469cc5adeaf2ea6c20f.tar.gz dna-backup-129a86b3a6780b7aee5a7469cc5adeaf2ea6c20f.zip |
add findSimilarChunks method to test sketches
Still missing a real test...
Diffstat (limited to 'sketch_test.go')
-rw-r--r-- | sketch_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |