Skip to content

Commit a404490

Browse files
authored
Remove redundant tests for isSubmapOf (#518)
1 parent db40495 commit a404490

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

tests/Properties/HashMapLazy.hs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -256,19 +256,8 @@ tests =
256256
\(x :: HMKI) y -> HM.isSubmapOf x y === M.isSubmapOf (toOrdMap x) (toOrdMap y)
257257
, testProperty "m ⊆ m" $
258258
\(x :: HMKI) -> HM.isSubmapOf x x
259-
, testProperty "m1 ⊆ m1 ∪ m2" $
260-
\(x :: HMKI) y -> HM.isSubmapOf x (HM.union x y)
261-
, testProperty "m1\\m2 ⊆ m1" $
262-
\(m1 :: HMKI) (m2 :: HMKI) -> HM.isSubmapOf (HM.difference m1 m2) m1
263-
, testProperty "m1 ∩ m2 ≠ ∅ ⇒ m1 ⊈ m1\\m2 " $
264-
\(m1 :: HMKI) (m2 :: HMKI) ->
265-
not (HM.null (HM.intersection m1 m2)) ==>
266-
not (HM.isSubmapOf m1 (HM.difference m1 m2))
267259
, testProperty "delete k m ⊆ m" $
268-
\(m :: HMKI) ->
269-
not (HM.null m) ==>
270-
QC.forAll (QC.elements (HM.keys m)) $ \k ->
271-
HM.isSubmapOf (HM.delete k m) m
260+
\k (m :: HMKI) -> HM.isSubmapOf (HM.delete k m) m
272261
, testProperty "m ⊈ delete k m " $
273262
\(m :: HMKI) ->
274263
not (HM.null m) ==>

0 commit comments

Comments
 (0)