aboutsummaryrefslogtreecommitdiffstats
path: root/test/Property.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-05-09 16:40:44 +0100
committerGitHub <noreply@github.com>2020-05-09 16:40:44 +0100
commitd50a0b5b57aae1c7558fa77c362ae2e36038b63c (patch)
tree9baedb7e8ef25c58b37ce78e65ceecb71972a43d /test/Property.hs
parent088b5d8694c31f8ac8276afc4fdcfd76ceb69843 (diff)
downloadverismith-d50a0b5b57aae1c7558fa77c362ae2e36038b63c.tar.gz
verismith-d50a0b5b57aae1c7558fa77c362ae2e36038b63c.zip
Add distance function (#75)
* Add distance function * Add distance measure for lists with testcases * Add more distance measures for AST * Add distance to commandline * Fix distance always giving 0
Diffstat (limited to 'test/Property.hs')
-rw-r--r--test/Property.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Property.hs b/test/Property.hs
index 7e1911e..64f9bc6 100644
--- a/test/Property.hs
+++ b/test/Property.hs
@@ -26,6 +26,7 @@ import Verismith
import Verismith.Result
import Verismith.Verilog.Lex
import Verismith.Verilog.Parser
+import Distance (distanceTests)
randomDAG' :: Gen Circuit
randomDAG' = Hog.resize 30 randomDAG
@@ -48,4 +49,5 @@ propertyTests = testGroup
"Property Tests"
[ testProperty "acyclic graph generation check" acyclicGraph
, parserTests
+ , distanceTests
]