Created
March 15, 2017 00:07
-
-
Save MattMcFarland/43d0d4babc5e1db2cb61fad159975cbe to your computer and use it in GitHub Desktop.
js verify with chai
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
// using should: | |
jsc.checkForall(jsc.integer, jsc.integer, (a, b) => a + b === b + a).should.be.true | |
// using expect: | |
expect(jsc.checkForall(jsc.integer, jsc.integer, (a, b) => a + b === b + a)).to.be.true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment