Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 524046b

Browse files
committed
Fix tests
1 parent 7baf7ae commit 524046b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Test/Data/Map.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ mapTests = do
132132
<?> ("k1: " ++ show k1 ++ ", v1: " ++ show v1 ++ ", k2: " ++ show k2 ++ ", v2: " ++ show v2)
133133

134134
log "Check balance property"
135-
quickCheck' 5000 $ \instrs ->
135+
quickCheck' 1000 $ \instrs ->
136136
let
137137
tree :: M.Map SmallKey Int
138138
tree = runInstructions instrs M.empty
@@ -145,7 +145,7 @@ mapTests = do
145145
quickCheck $ \k v -> M.lookup (k :: SmallKey) (M.singleton k (v :: Int)) == Just v
146146

147147
log "Random lookup"
148-
quickCheck' 5000 $ \instrs k v ->
148+
quickCheck' 1000 $ \instrs k v ->
149149
let
150150
tree :: M.Map SmallKey Int
151151
tree = M.insert k v (runInstructions instrs M.empty)

test/Test/Data/StrMap.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ strMapTests = do
7373
quickCheck $ \k v -> M.lookup k (M.singleton k (v :: Int)) == Just v
7474

7575
log "Random lookup"
76-
quickCheck' 5000 $ \instrs k v ->
76+
quickCheck' 1000 $ \instrs k v ->
7777
let
7878
tree :: M.StrMap Int
7979
tree = M.insert k v (runInstructions instrs M.empty)

0 commit comments

Comments
 (0)