1. 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.

  2. 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的覆盖情况:

posted on 2018-03-23 13:59  blackwiseman  阅读(89)  评论(0编辑  收藏  举报