0 | module Evince.Hedgehog
3 | import Evince.Expectations
13 | runProperty : String -> Property -> TestResultT IO ()
14 | runProperty label p = do
15 | seed <- liftIO initSeed
16 | rep <- liftIO $
checkReport p.config Nothing seed p.test (\_ => pure ())
19 | Failed _ => mustFail (renderResult DisableColor (Just (fromString label)) rep)
23 | prop : HasIO m => String -> Property -> Spec m a ()
24 | prop label p = it label (runProperty label p)
28 | itProp : HasIO m => String -> PropertyT () -> Spec m a ()
29 | itProp label = prop label . property
33 | itProp1 : HasIO m => String -> PropertyT () -> Spec m a ()
34 | itProp1 label = prop label . property1