Skip to content

Instantly share code, notes, and snippets.

@MattMcFarland
Last active March 15, 2017 07:03
Show Gist options
  • Save MattMcFarland/8f6b84f08808d9ef230e411ce7d751e4 to your computer and use it in GitHub Desktop.
Save MattMcFarland/8f6b84f08808d9ef230e411ce7d751e4 to your computer and use it in GitHub Desktop.
js verify with tape
test('addition is commutative', (t) => {
t.plan(1)
t.equal(jsc.checkForall(jsc.integer, jsc.integer, (a, b) => a + b === b + a), true)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment