Lengthen long chain failure threshold

This commit is contained in:
Derek Collison
2013-06-01 14:36:28 -07:00
parent 7c093f48a8
commit 7173720eff

View File

@@ -189,7 +189,7 @@ func TestHashMapStats(t *testing.T) {
if s.AvgChain > 13 || s.AvgChain < 12 {
t.Fatalf("AvgChain out of bounds: %f vs %f\n", s.AvgChain, 12.5)
}
if s.LongChain > 22 {
if s.LongChain > 25 {
t.Fatalf("LongChain out of bounds: %d vs %d\n", s.LongChain, 22)
}
}