From: sureshvv@... (suresh vv) Date: 2001-12-12T17:44:34+09:00 Subject: [ruby-talk:28326] Re: John Roth dolt ( Re: A challenge to proponents of Unit Testing. ) Robert C. Martin wrote in message > >> > > A cop out? Why is a simplification a cop out? Here is your quote: > >> The intent was to return a 1 for equilateral, 2 for isoceles, and 3 > >> for scalene. Representing the triangle was not part of the job. Returning 1, 2 or 3 all indicate a type of triangle. Checking for a triangle definitely is part of the job. Although the original thread was talking about testing, my comment was on implementing the "detect triangle type" method as you had done it. suresh