Skip to content

Instantly share code, notes, and snippets.

@dubzzz
Last active May 7, 2018 21:07
Show Gist options
  • Save dubzzz/a81ace53fd08dbbb1db7f636d24ff918 to your computer and use it in GitHub Desktop.
Save dubzzz/a81ace53fd08dbbb1db7f636d24ff918 to your computer and use it in GitHub Desktop.
fc.assert(
fc.property(
fc.nat(),
n => decompose(n).reduce((acc, cur) => acc*cur, 1) === n));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment