Skip to content

Commit b2b55b0

Browse files
committed
Remove CPP
1 parent 0decaa1 commit b2b55b0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/seq-properties.hs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ import qualified Prelude
1717
import qualified Data.List
1818
import Test.QuickCheck hiding ((><))
1919
import Test.QuickCheck.Poly
20-
#ifdef SLOW_TESTS
2120
import Test.QuickCheck.Function
22-
#endif
2321
import Test.Framework
2422
import Test.Framework.Providers.QuickCheck2
2523

@@ -96,11 +94,9 @@ main = defaultMain
9694
, testProperty "zipWith3" prop_zipWith3
9795
, testProperty "zip4" prop_zip4
9896
, testProperty "zipWith4" prop_zipWith4
99-
#ifdef SLOW_TESTS
10097
, testProperty "<*>" prop_ap
10198
, testProperty "*>" prop_then
10299
, testProperty ">>=" prop_bind
103-
#endif
104100
]
105101

106102
------------------------------------------------------------------------
@@ -598,23 +594,19 @@ prop_zipWith4 xs ys zs ts =
598594

599595
-- Applicative operations
600596

601-
#ifdef SLOW_TESTS
602597
prop_ap :: Seq A -> Seq B -> Bool
603598
prop_ap xs ys =
604599
toList' ((,) <$> xs <*> ys) ~= ( (,) <$> toList xs <*> toList ys )
605600

606601
prop_then :: Seq A -> Seq B -> Bool
607602
prop_then xs ys =
608603
toList' (xs *> ys) ~= (toList xs *> toList ys)
609-
#endif
610604

611605
-- Monad operations
612606

613-
#ifdef SLOW_TESTS
614607
prop_bind :: Seq A -> Fun A (Seq B) -> Bool
615608
prop_bind xs (Fun _ f) =
616609
toList' (xs >>= f) ~= (toList xs >>= toList . f)
617-
#endif
618610

619611
-- Simple test monad
620612

0 commit comments

Comments
 (0)