摘要:
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, 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文