0 | module Evince.Hedgehog
12 | runProperty : String -> Property -> IO (TestResult ())
13 | runProperty label p = do
15 | rep <- checkReport p.config Nothing seed p.test (\_ => pure ())
16 | pure $
case rep.status of
18 | Failed _ => Fail (Reason (renderResult DisableColor (Just (fromString label)) rep))
22 | prop : HasIO m => String -> Property -> Spec m a ()
23 | prop label p = itIO label (runProperty label p)
27 | itProp : HasIO m => String -> PropertyT () -> Spec m a ()
28 | itProp label = prop label . property
32 | itProp1 : HasIO m => String -> PropertyT () -> Spec m a ()
33 | itProp1 label = prop label . property1