1.使用jdea 直接从老师发的包里加入junit、hamcrest,但是jdea中Emma不能用,不过jdea有自带的覆盖工具可以用

2.测试结果