Merge pull request #586 from cmasone-attic/slowTests

Reduce size of test data in Set and Map IterAllP() tests
This commit is contained in:
cmasone-attic
2015-11-06 09:23:14 -08:00
2 changed files with 6 additions and 6 deletions

View File

@@ -186,9 +186,9 @@ func TestMapIterAllP(t *testing.T) {
assert.Equal(mapLen, numVisited, "IterAllP was not called with every map key")
}
testIter(0, 100)
testIter(10, 1000)
testIter(1, 100000)
testIter(64, 100000)
testIter(10, 100)
testIter(1, 100)
testIter(64, 200)
}
func TestMapFilter(t *testing.T) {

View File

@@ -208,9 +208,9 @@ func TestSetIterAllP(t *testing.T) {
assert.Equal(setLen, numVisited, "IterAllP was not called with every index")
}
testIter(0, 100)
testIter(10, 1000)
testIter(1, 100000)
testIter(64, 100000)
testIter(10, 100)
testIter(1, 100)
testIter(64, 200)
}
func TestSetFilter(t *testing.T) {