zoukankan      html  css  js  c++  java
  • 软件测试作业三:有关控制流图、覆盖内容

    (b)定义素数列表时,将MAXPRIMES设为4

    (c)令n=1

    (d)节点覆盖:TR = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}

            Test Path = [1,2,3,4,5,6,7,5,6,8,9,10,2,11,12,13,14,12,15]

            边覆盖 : TR = {(1,2),(2,3),(3,4),(4,5),(5,6),(6,7),(7,5),(5,9),(6,8),(8,9),

    (9,2),(9,10),(10,2),(2,11),(11,12),(12,13),(13,14),(14,12),(12,15)}

              Test Paths = [1,2,3,4,5,6,7,5,6,8,9,2,11,12,13,14,12,15]

                  [1,2,3,4,5,9,10,2,11,12,13,14,12,15]

        主路径覆盖:

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

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

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

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

    [1,2,3,4,5,9,10]

    [1,2,11,12,13,14]

    [1,2,11,15]

    [3,4,5,6,8,9,2,11,12,13,14]

    [3,4,5,6,8,9,10,2,11,12,13,14]

    [3,4,5,6,8,9,2,11,12,15]

    [3,4,5,6,8,9,10,2,11,12,15]

    [3,4,5,9,10,2,11,12,13,14]

    [3,4,5,9,2,11,12,13,14]

    [3,4,5,9,10,2,11,12,15]

    [3,4,5,9,2,11,12,15]

    [6,7,5,9,10,2,11,12,13,14]

    [6,7,5,9,2,11,12,13,14]

    [6,7,5,9,10,2,11,12,15]

    [6,7,5,9,2,11,12,15]

    [13,14,12,15]

    [12,13,14,12]

    [5,6,7,5]

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

    [2,3,4,5,9,2]

    [2,3,4,5,9,10,2]

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

  • 相关阅读:
    swift
    swift
    swift
    swift
    swift
    swift
    swift
    选择排序
    组合 和 继承
    Android中使用LitePal操控SQLite数据库
  • 原文地址:https://www.cnblogs.com/shangcong/p/5341084.html
Copyright © 2011-2022 走看看