Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active February 5, 2017 16:57
Show Gist options
  • Save deque-blog/cc3f301a1926ce047e0ec83077c45160 to your computer and use it in GitHub Desktop.
Save deque-blog/cc3f301a1926ce047e0ec83077c45160 to your computer and use it in GitHub Desktop.
prop_gcd_bad :: Integer -> Integer -> Bool
prop_gcd_bad a b = gcd a b > 1
rapidCheck prop_gcd_bad
> Failure {seed = -1437169021,
counterExample = ["1076253199","40866101"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment