当MAXPRIMES=4时,n=5会出现错误,而n=3不会。

当n=1时 不会经过while

点覆盖:1、2、3、4、5、8、4、5、6、7、9、10、2、11、12、13、14、12、15

边覆盖:(1、2)(2、3)(3、4)(4、5)(5、8)(8、4)(4、5)(5、6)(6、7)(7、2)(2、3)(3、4)(4、5)(5、6)(6、7)(7、9)(9、10)(10、2)(2、11)(11、12)(12、13)(13、14)(14、12)(12、15)

主路径覆盖:

1、2、3、4、5、6、7

1、2、3、4、5、6、7、9、10

1、2、3、4、5、8

1、2、3、4、7

1、2、3、4、7、9、10

1、2、11、12、15

1、2、11、12、13、14

 

 

对程序进行主路径测试见github https://github.com/AllanJian/scsst