A kata to exercise functions
Exercise description: http://matteo.vaccari.name/blog/archives/154
- Make the program work
- Go from program execution to program description
A few steps are required in order to be able to run the test:
- Install npm
- Open a console in the root of the project
- run
npm iin the console
- Write your tests under the
__test__folder - Write your code under the
sourcefolder - You can create as many subdirectories as you want both inside
__test__andsourcefolder - In the console write
npm testin order to run all the tests