Skip to content

Commit

Permalink
checkpointing
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoerzen committed Sep 12, 2007
1 parent 95fea6d commit f22fade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsrc/TestInfrastructure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ mkTest msg test = TestLabel msg $ TestCase $ (run test defOpt >>= checResult)
--printmsg x y = printf "\r%-78s\n" (msg ++ ": " ++ x ++ " (" ++ show y
-- ++ " cases)")

data (LL.ListLike f i, Arbitrary f, Arbitrary i, Show f, Show i, TestLL f i, Eq i, Eq f) => LLTest f i =
data (LL.ListLike f i, Arbitrary f, Arbitrary i, Show f, Show i, Eq i, Eq f) => LLTest f i =
forall t. Test.QuickCheck.Testable t => LLTest (f -> t)

t :: TestLL f i => String -> LLTest f i -> Test
t msg f = case f of
LLTest theTest -> mkTest msg theTest

instance TestLL f i => Test.QuickCheck.Testable (LLTest f i) where
instance (LL.ListLike f i, Eq f, Arbitrary f, Show f) => Test.QuickCheck.Testable (LLTest f i) where
property (LLTest x) = property x

w :: forall f t i. (TestLL f i, Test.QuickCheck.Testable t) => (f -> t) -> LLTest f i
Expand Down

0 comments on commit f22fade

Please sign in to comment.