Must do 1:
Test case ID |
A |
B |
C |
Test prophecy |
1 |
-1 |
3 |
4 |
Cannot form a triangle |
2 |
2 |
-3 |
3 |
Cannot form a triangle |
3 |
2 |
3 |
-2 |
Cannot form a triangle |
4 |
1 |
3 |
5 |
Cannot form a triangle |
5 |
6 |
2 |
3 |
Cannot form a triangle |
6 |
2 |
4 |
1 |
Cannot form a triangle |
7 |
5 |
2 |
2 |
Cannot form a triangle |
8 |
2 |
5 |
2 |
Cannot form a triangle |
9 |
5 |
2 |
1 |
Cannot form a triangle |
10 |
3 |
3 |
3 |
Equilateral triangle |
11 |
? |
? |
? |
Invalid |
12 |
? |
? |
? |
Invalid |
13 |
3 |
3 |
5 |
Isosceles Triangle |
14 |
? |
? |
? |
Invalid |
15 |
5 |
4 |
4 |
Isosceles Triangle |
16 |
2 |
1 |
2 |
Isosceles Triangle |
17 |
4 |
2 |
5 |
Common triangles |
Must do 3: experience:
See the Triangle Judgment program, learned a lot of programming statements, especially the use of the judgment statement if, and on this basis learned the equivalence method test, obviously personal strength still need to improve, programming ability is still short board, only in this way to complete background testing tasks. To do a good job, programming ideas and capabilities is critical, but teamwork and rigorous post-test bugs are even more critical, which determines the longevity and market of a product.
Job 8-Unit test exercise