On 2011-07-03 1:32 PM, Leigh Daniels wrote: > Hi all, > > First, thanks to Jeremy for the Ruby Koans link. > > Now I'm puzzled, Sensei! > > I'm trying to write the code for the cases on lines 12& 13 (see below) and I don't understand why they should be expected to raise exceptions. They appear to be isosceles triangles and pass the isosceles test. > > Am I missing something subtle? Or something obvious? > > **Leigh > assert_equal :isosceles, triangle(1, 1, 3) # these two are from > assert_equal :isosceles, triangle(2, 4, 2) # test_illegal_triangles_throw_exceptions Are these really triangles? Try to draw them. -- Bill