摘要: 1、实验代码 2、实验结果 阅读全文
posted @ 2017-03-24 15:18 dawn1227 阅读(362) 评论(0) 推荐(0)
摘要: IDE:IntelliJ IDEA 1、安装Junit(4.12), Hamcrest(1.3) File --> Project Structure --> Modules 点击加号添加jar包 应用后确定 2、编写程序 3、编写测试程序 4、结果截图 绿色:全部覆盖 黄色:部分覆盖 红色:没有覆 阅读全文
posted @ 2017-03-10 11:37 dawn1227 阅读(269) 评论(0) 推荐(0)
摘要: Below are two faulty programs. Each includes a test case that results in failure. Answer the following questions (in the next slide) about each program. 阅读全文
posted @ 2017-02-25 17:43 dawn1227 阅读(174) 评论(0) 推荐(0)