I want to design 10 test cases and explain the purpose of each of them. The purpose is one to two sentences. For example the purpose of (3, 4, 5) is to test that the program correctly identifies a right angle (9 + 16 = 25). Ok, you need nine more.
Printable View
I want to design 10 test cases and explain the purpose of each of them. The purpose is one to two sentences. For example the purpose of (3, 4, 5) is to test that the program correctly identifies a right angle (9 + 16 = 25). Ok, you need nine more.
Is your homework assignment involving writting any code?
No.
An example of it would be
2)Is the total of Side A + Side B greater than Side C? Test 3, 4, 5 (it’s a triangle)
3)Is the total of Side A + Side C greater than Side B? Test 3, 4, 5 (it’s a triangle)
What does it have to do with Net programming? Isn't it more a Math question?
Moved to the Math Forum. :)
It has to do with programming, because I will do testing
# Variables: side1, side2, side3
# Test Case 1: Check if side1 is null
# Test Case 2: Check if side2 is null
# Test Case 3: Check if side3 is null
# Test Case 4: Check if side1 is numeric
# Test Case 5: Check if side2 is numeric
# Test Case 6: Check if side3 is numeric
# Test Case 7: Check if side1 2 + side22 = side32 for right triangle
# Test Case 8: Check if side12 + side22 < side32 to see if 2 sides are greater than the third
# Test Case 9: Check if side22 + side32 < side12 to see if 2 sides are greater than the third
# Test Case 10: Check if side12 + side32 < side22 to see if 2 sides are greater than the third
Programming in which language? Can you give others an example of your code you have so far?