Created
April 18, 2017 00:21
-
-
Save pporche87/f51cec11c605a1776dd9a5060486ce44 to your computer and use it in GitHub Desktop.
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
let expect = require ('chai').expect | |
let add = require ('../src/add') | |
describe('add()', () => { | |
it('adds two numbers', () => { | |
expect(add(4,6)).to.deep.equal(10) | |
expect(add(-10,5)).to.deep.equal(-5) | |
expect(add(0,0)).to.deep.equal(0) | |
expect(add(-2,-3)).to.deep.equal(-5) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment