aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-10-06 22:41:34 +0100
committerYann Herklotz <git@yannherklotz.com>2019-10-06 22:58:37 +0100
commit09fde96bb166b0e6b428aff9034b14f9b31f24eb (patch)
treedfc34db9c99a3cdf8983c6a32d602b464018daad /test
parent5815e527f7e3b65078e2ad19df3538bb701ec7ac (diff)
downloadverismith-09fde96bb166b0e6b428aff9034b14f9b31f24eb.tar.gz
verismith-09fde96bb166b0e6b428aff9034b14f9b31f24eb.zip
Test cases pass again
Diffstat (limited to 'test')
-rw-r--r--test/Property.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/Property.hs b/test/Property.hs
index a57f92c..7e1911e 100644
--- a/test/Property.hs
+++ b/test/Property.hs
@@ -43,21 +43,9 @@ acyclicGraph = Hog.property $ do
. getCircuit
$ g
-propertyResultInterrupted :: Property
-propertyResultInterrupted = do
- mapCompose genResult
- (Hog.int (Hog.linear 0 100))
- (Hog.int (Hog.linear 0 100))
- (Hog.int (Hog.linear 0 100))
- where
- genResult :: Gen a -> Gen (Result Text a)
- genResult a = Hog.choice
- [Pass <$> a, Fail <$> Hog.text (Hog.linear 1 100) Hog.unicode]
-
propertyTests :: TestTree
propertyTests = testGroup
"Property Tests"
[ testProperty "acyclic graph generation check" acyclicGraph
- , testProperty "fmap for Result" propertyResultInterrupted
, parserTests
]