Particularly Fun Whiteboard Problems and Solutions with Tests
npm install- make a link to the test you want to run:
ln src/stairs-combo/stairs-combo-test.js test/automocha - run automocha
automocha - fiddle withe the test to explore the solution
Each problem's solutions are packaged as node modules, and most are/will be designed to be explored in repl, so do seomthing like this:
$ node
$ > var StairsCombo = require('./src/stairs-combo/stairs-combo.js')
$ > var x = new StairsCombo()
$ > x.setStairs(5)
$ > x.setPeriod(3)
$ > x.recurse(x.stairs, x.period)
$ 13
