diff options
| author | albert <[email protected]> | 2022-02-10 16:48:14 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:14 +0300 | 
| commit | 9f25ef3232c288ca664ceee6c376cf64e4349a2e (patch) | |
| tree | b192eaf3150845f7302fafd460a972b0439d6fe5 /library/cpp/testing/unittest | |
| parent | 6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/unittest')
| -rw-r--r-- | library/cpp/testing/unittest/registar.h | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h index 44517a00924..3535aaeda25 100644 --- a/library/cpp/testing/unittest/registar.h +++ b/library/cpp/testing/unittest/registar.h @@ -701,7 +701,7 @@ public:                       \              return false;          } -    } +    }   //values  #define UNIT_ASSERT_VALUES_EQUAL_IMPL(A, B, C, EQflag, EQstr, NEQstr)                                                                  \ @@ -721,14 +721,14 @@ public:                       \          }                                                                                                                              \      } while (false) -#define UNIT_ASSERT_VALUES_EQUAL_C(A, B, C) \ -    UNIT_ASSERT_VALUES_EQUAL_IMPL(A, B, C, true, "==", "!=") - -#define UNIT_ASSERT_VALUES_UNEQUAL_C(A, B, C) \ -    UNIT_ASSERT_VALUES_EQUAL_IMPL(A, B, C, false, "!=", "==") +#define UNIT_ASSERT_VALUES_EQUAL_C(A, B, C) \  +    UNIT_ASSERT_VALUES_EQUAL_IMPL(A, B, C, true, "==", "!=")  +#define UNIT_ASSERT_VALUES_UNEQUAL_C(A, B, C) \  +    UNIT_ASSERT_VALUES_EQUAL_IMPL(A, B, C, false, "!=", "==")  +   #define UNIT_ASSERT_VALUES_EQUAL(A, B) UNIT_ASSERT_VALUES_EQUAL_C(A, B, "") -#define UNIT_ASSERT_VALUES_UNEQUAL(A, B) UNIT_ASSERT_VALUES_UNEQUAL_C(A, B, "") +#define UNIT_ASSERT_VALUES_UNEQUAL(A, B) UNIT_ASSERT_VALUES_UNEQUAL_C(A, B, "")   // Checks that test will fail while executing given expression  // Macro for using in unitests for ut helpers | 
