Skip to content

Commit

Permalink
Relive accuracy requirement in mash test
Browse files Browse the repository at this point in the history
  • Loading branch information
fluhus committed Jun 13, 2024
1 parent 306a000 commit 32d5a50
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 @@ -44,7 +44,7 @@ func TestDistance(t *testing.T) {

d := Distance(Sequences(10000, 21, seq1), Sequences(10000, 21, seq2), 21)
dif := math.Abs(d - 0.05)
if dif > 0.0001 {
if dif > 0.001 {
t.Fatalf("Distance(...)=%v, want %v", d, 0.05)
}
}

0 comments on commit 32d5a50

Please sign in to comment.