软件测试 图覆盖,软件测试图覆盖(示例代码)
public static void printPrimes (intn){intcurPrime;intnumPrimes;booleanisPrime;int [] primes = new int[MAXPRIMES];primes [0] = 2;numPrimes= 1;curPrime= 2;while (numPrimes {curPrime++;isPrime= true;for ...