Skip to content

Instantly share code, notes, and snippets.

@ericelliott
Created May 25, 2016 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericelliott/25a1c580ca577375af897500ba9b4c0a to your computer and use it in GitHub Desktop.
Save ericelliott/25a1c580ca577375af897500ba9b4c0a to your computer and use it in GitHub Desktop.
range 0 test
test('range starts with 0', assert => {
const message = 'should return a range from 0 to `end`.';
const actual = range(0, 3);
const expected = [0, 1, 2, 3];
assert.same(actual, expected, message);
assert.end();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment