- The brief description that you install junit, hamcrest and eclemma.
Junit.jar and hamcrest.jar are included in my lib and Referenced Libraries:
Eclemma has been installed and a new launch button has appeared.
- The test result and coverage report (print screen) of your tests on triangle problem.
I test my triangle with (2,2,3),(2,2,2) and (2,3,4);
Test Result:
(2,2,3) is a isosceles but not a equilateral and not a scalene, which is true;
(2,2,2) is a equilateral and a isosceles but not a scalene, which is true;
(2,3,4) is a scalene but not a equilateral and not a isosceles, which is true;
Coverage:
Print screen:
testTriangle.java的覆盖情况:
Triangle.java的覆盖情况:
![](https://img2024.cnblogs.com/blog/35695/202407/35695-20240713070336838-1837943664.jpg)