Today's Kata
Triangle Sorter
"A triangle is a polygon with three edges and three vertices."
- Wikipedia
"If triangles invented a god, they would make him three-sided."
- Baron de Montesquieu
The goal of this kata is to take 3 integer values that represent the lengths of three sides of a triangle and return a String
representation of the triangle's classification. The 5 classifications we are looking for will be 'equilateral', 'isosceles', 'right', 'other', and 'not a triangle'.
Today's Goals
- Doing the simplest thing to make a test pass.
- Discuss ordering of test cases.
- Making sure edge cases are tested.
- Playing with lists.
- Advanced refactoring of test classes.