摘要: a.Draw a CFG of the printPrimes() method; b. 当MAXPRIMES为3或4时。t2=(n=5)会因为越界而出现fault。但是t1=(n=3)不会出现fault。 c. edge (2,12), n=1 d. i.Node Coverage TR= {1, 阅读全文
posted @ 2016-03-31 13:39 eric7 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Tasks: 1. Install Junit(4.12), Hamcrest(1.3) with Eclipse 将两个jar包添加到工程中 2. Install Eclemma with Eclipse 3. Write a java program for the triangle probl 阅读全文
posted @ 2016-03-19 22:01 eric7 阅读(540) 评论(0) 推荐(0) 编辑
摘要: Below are four faulty programs. Each includes a test case that results in failure. Answer the following questions (in the next slide) about each progr 阅读全文
posted @ 2016-03-13 23:05 eric7 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 在上学期完成Web大作业的时候,遇到过一些经过测试发现的errors,最后这些问题得到了解决: 在写的Web大作业中,我的项目是写一个“骨髓数据库”,在项目中有其中一个功能是:骨髓库管理员的登录,登录后,骨髓库的管理员能够对数据库的骨髓数据进行修改。 Error: 在测试过程能够中,我把登录后的UR 阅读全文
posted @ 2016-03-06 22:03 eric7 阅读(340) 评论(0) 推荐(0) 编辑