home personal workZone travel about
Software Testing
From my notes... more to come.

Blackbox Testing - Triangle Classification

About the Problem

As stated by [Myers 1979] "The program reads three integer values from a card. The integer values are intepreted as reprensenting the lengths of the sides of a triangle. The program prints a message that states whether the triangle is scalene, isosceles, or equilateral."

The aim is to test a given solution of the above problem for bugs by providing properly designed and thought out test cases. For example one set of test cases is 1,2,3 which should result in the answer not a triangle, any other answer indicates a bug in the solution.

Java Applet

References

[Myers 1979] Myers, Glenord, The Art of Software Testing, Jon Wiley & Sons 1979