Created
May 25, 2016 02:22
-
-
Save ericelliott/a6460708a310a6f99f8fe084748f7bfc to your computer and use it in GitHub Desktop.
range test 1
This file contains 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
test('range', assert => { | |
const message = `should return an array of numbers | |
from 'start' to 'end'.`; | |
const actual = range(1, 5); | |
const expected = [1, 2, 3, 4, 5]; | |
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