Last active
February 13, 2017 19:30
-
-
Save deque-blog/b1acbf9eabe4d91e811709a65d2513a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prop_optimize_preserves_dependencies :: Property | |
prop_optimize_preserves_dependencies = | |
forAll (sized genExpr) $ \e -> | |
dependencies e == dependencies (optimize e) | |
quickCheck (expectFailure prop_optimize_preserves_dependencies) | |
> +++ OK, failed as expected. Falsifiable (after 8 tests): | |
> (* g r e m (* 0)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment