zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    zoj 3279 线段树 OR 树状数组
    fzu 1962 树状数组 OR 线段树
    hdu 5057 块状链表
    hdu3487 Play with Chain
    bzoj 1588营业额统计(HNOI 2002)
    poj2823 Sliding Window
    poj2828 Buy Tickets
    poj2395 Out of Hay
    poj3667 Hotel
    poj1703 Lost Cows
  • 原文地址:https://www.cnblogs.com/lyli/p/5336883.html
Copyright © 2011-2022 走看看