Skip to content

Commit

Permalink
fixed TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyStiles committed Nov 6, 2023
1 parent 67546f7 commit 00ece56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mash/mash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestMash(t *testing.T) {
fingerprint2 = mash.New(17, 5)
fingerprint2.Sketch("ATGCGATCGATCGATCGATCGATCGATCGATCGATCGATCGATCGATCGATCGATCGATCGA")

distance = fingerprint1.Distance(fingerprint2) // TODO: this shouldn't return 0 and should be same as above?
distance = fingerprint1.Distance(fingerprint2)
if distance != 0 {
t.Errorf("Expected distance to be 0, got %f", distance)
}
Expand Down

0 comments on commit 00ece56

Please sign in to comment.