zoukankan      html  css  js  c++  java
  • 【RF库Collections测试】Lists Should Be Equal

    Name:
    Lists Should Be Equal
    Source:
    Collections <test library>
    Arguments:
    [ list1 | list2 | msg=None | values=True | names=None ]
    Fails if given lists are unequal.
    The keyword first verifies that the lists have equal lengths, and then it checks are all their values equal. Possible differences between the values are listed in the default error message like `Index 4: ABC != Abc`.
    The error message can be configured using `msg` and `values` arguments:

    If `msg` is not given, the default error message is used.

    If `msg` is given and `values` is either Boolean False or a string 'False' or 'No Values', the error message is simply `msg`.

    Otherwise the error message is `msg` + 'new line' + default.
    Optional `names` argument (new in 2.6) can be used for naming the indices shown in the default error message. It can either be a list of names matching the indices in the lists or a dictionary where keys are indices that need to be named. It is not necessary to name all of the indices. When using a dictionary, keys can be either integers or strings that can be converted to integers.

    场景1:

    场景2:

  • 相关阅读:
    TensorFlow基础篇
    MySql分类
    VISUAL STUDIO 调试
    排序分类
    位分类
    Visio分类
    工作线程AfxBeginThread的使用
    Windows Live Writer配置步骤
    用户界面线程AfxBeginThread的使用
    WIndows 相关知识
  • 原文地址:https://www.cnblogs.com/apple2016/p/7050939.html
Copyright © 2011-2022 走看看