this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 30e1c9027434f4e1f89e5ca215d3f17b82a6c44b 19 lines 589 B view raw
1var Day1 = require('../lib/day1'); 2 3var expect = require('chai').expect; 4 5describe('Day1', function() { 6 describe('#floorCount', function() { 7 it('returns appropriate floor count from input', function() { 8 expect(Day1.floorCount('(((())')).to.equal(2); 9 expect(Day1.floorCount('))))')).to.equal(-4); 10 }); 11 }); 12 13 describe('#entersBasementAt', function() { 14 it('returns the char position when first entering basement', function() { 15 expect(Day1.entersBasementAt(')')).to.equal(1); 16 expect(Day1.entersBasementAt('((())))(()))')).to.equal(7); 17 }); 18 }); 19});