Created
March 15, 2017 00:05
-
-
Save MattMcFarland/22d13794440b5069f8a02c83a966d42b to your computer and use it in GitHub Desktop.
jsverify with node
This file contains 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
// node assertion library | |
assert(jsc.checkForall(jsc.integer, jsc.integer, (a, b) => a + b === b + a) === true) | |
// same as: | |
jsc.assertForall(jsc.integer, jsc.integer, (a, b) => a + b === b + a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment