Skip to content

Instantly share code, notes, and snippets.

@dubzzz
Created May 7, 2018 21:14
Show Gist options
  • Save dubzzz/39a7ed45264936a82ecd32039cda3136 to your computer and use it in GitHub Desktop.
Save dubzzz/39a7ed45264936a82ecd32039cda3136 to your computer and use it in GitHub Desktop.
fc.assert(
fc.property(
fc.char(), fc.array(fc.char()).map(d => d.sort()),
(c, data) => binaryContains(c, data) === linearContains(c, data)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment