Write a program that can tell you if a triangle is equilateral, isosceles, or scalene.
The program should raise an error if the triangle cannot exist.
Tests are provided, delete one skip
at a time.
The sum of the lengths of any two sides of a triangle always exceeds the length of the third side, a principle known as the triangle inequality.
Go through the setup instructions for JavaScript to install the necessary dependencies:
http://exercism.io/languages/javascript
Execute the tests with:
$ jasmine-node .
In many test suites all but the first test have been skipped.
Once you get a test passing, you can unskip the next one by
changing xit
to it
.
The Ruby Koans triangle project, parts 1 & 2 view source