Software Testing 4th Assignment

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Software Testing 4th Assignment相关的知识,希望对你有一定的参考价值。

EXERCISES Section 2.3 7(a)~(d)

(a)

技术分享

(b)MAXPRIMES = 4

(c) t = (n = 1)

(d) node coverage: TR = {0,1,2,3,4,5,6,7,8,9,10,11,12,13}

  edge coverage: TR = {(0,1),(1,2),(1,10),(2,3),(3,4),(4,5),(4,8),(5,6),(5,7),(6,8),(7,4),(8,1),(8,9),(9,1),(10,11),(10,12),(11,10)}

  prime path coverage: TR : [0,1,2,3,4,5,6,8,9]

                 [0,1,2,3,4,5,7]

                 [0,1,2,3,4,8,9]

                 [0,1,10,12]

                 [0,1,10,11]

                 [1,2,3,4,5,6,8,9,1]

                 [1,2,3,4,5,6,8,1]

                 [1,2,3,4,8,1]

                 [1,2,3,4,8,9,1]

                 [2,3,4,5,6,8,9,1,2]

                 [2,3,4,5,6,8,1,2]

                 [2,3,4,8,9,1,2,]

                 [2,3,4,8,1,2]

                 [3,4,5,6,8,9,1,2,3]

                 [3,4,5,6,8,1,2,3]

                   [3,4,8,9,1,2,3]

                 [3,4,8,1,2,3]

                 [4,5,6,8,9,1,2,3,4]

                 [4,5,6,8,1,2,3,4]

                 [4,8,9,1,2,3,4]

                 [4,8,1,2,3,4]

                 [4,5,7,4]

                 [5,7,4,5]

                 [5,6,8,9,1,2,3,4,5]

                 [5,6,8,1,2,3,4,5]

                 [6,8,9,1,2,3,4,5,6]

                 [6,8,1,2,3,4,5,6]

                 [7,4,5,7]

                 [8,9,1,2,3,4,5,6,8]

                 [8,9,1,2,3,4,8]

                 [8,1,2,3,4,5,6,8]

                 [8,1,2,3,4,8]

                 [9,1,2,3,4,5,6,8,9]

                 [9,1,2,3,4,8,9]

                 [10,11,10]

                 [11,10,11]

 

 

 

-------------------------THE END-----------------------

 

 

 

 

 

P.S. HBD MINO!!!!!!:) 30 MAR, 2016

 

以上是关于Software Testing 4th Assignment的主要内容,如果未能解决你的问题,请参考以下文章

Software Testing hw2

Software Testing hw1

Software Testing hw3

Software Testing -- Homework 1

Software Testing Concepts

Software Testing Homework1