Last active
October 29, 2018 14:44
-
-
Save MattMcFarland/f7e149ad6c6868f3b88a1ae22fecf04a to your computer and use it in GitHub Desktop.
js verify with jasmine
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
describe('Maths', () => { | |
it('addition is commutative', () => { | |
expect(jsc.checkForall(jsc.integer, jsc.integer, (a, b) => a + b === b + a)).toBeTrue() | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment