From: "Robert C. Martin" Date: 2001-12-11T23:23:04+09:00 Subject: [ruby-talk:28220] Re: John Roth dolt ( Re: A challenge to proponents of Unit Testing. ) On Mon, 10 Dec 2001 23:38:57 -0800, "Kent Beck" wrote: >The earlier note that I ignored ill-formed triangles (5,5,11) is absolutely >correct. I missed those test cases. I'll post the updated code and tests >later. I think it's just this: sizes.sum() > 2*sides.max() Robert C. Martin | "Uncle Bob" | Software Consultants Object Mentor Inc. | rmartin@objectmentor.com | We'll help you get PO Box 5757 | Tel: (800) 338-6716 | your projects done. 565 Lakeview Pkwy | Fax: (847) 573-1658 | www.objectmentor.com Suite 135 | | www.XProgramming.com Vernon Hills, IL, | Training and Mentoring | www.junit.org 60061 | OO, XP, Java, C++, Python| "One of the great commandments of science is: 'Mistrust arguments from authority.'" -- Carl Sagan