Skip to content

Commit

Permalink
Rename the monotonicity tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
robrix committed Jul 6, 2020
1 parent 7a508a5 commit 0006ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Data/IntervalSet/Test.hs
Expand Up @@ -25,14 +25,14 @@ tests = testGroup "IntervalSet"
insert i s === s
]
, testGroup "larger"
[ testProperty "monotone" . property $ do
[ testProperty "monotonicity" . property $ do
i1 <- forAll gi
i2 <- forAll gi
i3 <- forAll gi
when (larger i1 (Just i2) && larger i1 (Just i3)) $ larger i1 (Just (i2 <> i3)) === True
]
, testGroup "smaller"
[ testProperty "monotone" . property $ do
[ testProperty "monotonicity" . property $ do
i1 <- forAll gi
i2 <- forAll gi
i3 <- forAll gi
Expand Down

0 comments on commit 0006ab3

Please sign in to comment.