You are on page 1of 1

Programming Assignment unit 05

The Classic Triangle Testing Problem, (Myer's Triangle): A program reads three integer values. The
three values are interpreted as representing the lengths of the sides of a triangle. The program
prints a message that states whether the triangle is scalene, isosceles, or equilateral. Develop a set
of test cases (at least 6 ) that you feel will adequately test this program. (This is a classic testing
problem and you could find numerous explanations about it on the internet. I would recommend
that you try to submit your own answer, based on your understanding of the topic).

Answer:

Here are some test cases that can be used to test the program:

Test case where one side is greater than or equal to the sum of the other two sides: (2, 3, 6)
Expected output: Not a triangle

These test cases cover different scenarios that the program should be able to handle correctly.

You might also like