We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc20ad3 commit ee59770Copy full SHA for ee59770
tests/TabulateSlow.hs
@@ -1,5 +1,7 @@
1
import Test.QuickCheck
2
import Test.QuickCheck.Monadic
3
+import Control.Monad
4
+import System.Exit
5
6
prop_tabulateALot :: Int -> Property
7
prop_tabulateALot x =
@@ -12,4 +14,5 @@ prop_tabulateALot x =
12
14
tabulates (n - 1)
13
15
16
main = do
- quickCheck $ forAll arbitrary prop_tabulateALot
17
+ r <- quickCheckResult $ within 10000 $ forAll arbitrary prop_tabulateALot
18
+ unless (isSuccess r) exitFailure
0 commit comments