Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sysulq committed Aug 19, 2020
1 parent b63e466 commit 7b1400f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2c/pewma_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestPeakEwma(t *testing.T) {
total := 0
for _, count := range countMap {
total += count
assert.Less(t, totalCount/3-2000, count)
assert.Less(t, totalCount/3-1800, count)
}

assert.Equal(t, totalCount, total)
Expand Down

0 comments on commit 7b1400f

Please sign in to comment.