摘要:
第三次作业 Use the following method printPrimes() for questions a–d. 程序如下: a、画出数据流图: b、测试用例t1=(n=3)和t2=(n=5),t2会发现但是t1不会发现的错误。 数组越界问题。 c、找到一个测试用例不经过while循环 阅读全文
摘要:
一、Eclipse下安装junit, hamcrest and eclemma。 由于现在版本的Eclipse都已经集成了JUnit Test Case,所以不必再导入JUnit和hamcrest的jar包了,只需要在需要测试的类中,右键点击New,选择新建一个JUnit Test Case即可,E 阅读全文