Searched refs:ASSERT_EQUAL (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 639 #define ASSERT_EQUAL(expect, actual) { char tmp[200]; sprintf(tmp, "(%g==%g)", (double)(expect), (d… macro 653 ASSERT_EQUAL(44, fd.getPluralOperand(PLURAL_OPERAND_N)); in TestFixedDecimal() 654 ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_V)); in TestFixedDecimal() 655 ASSERT_EQUAL(FALSE, fd.isNegative()); in TestFixedDecimal() 659 ASSERT_EQUAL(44, fd.getPluralOperand(PLURAL_OPERAND_N)); in TestFixedDecimal() 660 ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_V)); in TestFixedDecimal() 661 ASSERT_EQUAL(TRUE, fd.isNegative()); in TestFixedDecimal() 667 ASSERT_EQUAL(3, fd.getPluralOperand(PLURAL_OPERAND_V)); // v in TestFixedDecimal() 668 ASSERT_EQUAL(456, fd.getPluralOperand(PLURAL_OPERAND_F)); // f in TestFixedDecimal() 669 ASSERT_EQUAL(456, fd.getPluralOperand(PLURAL_OPERAND_T)); // t in TestFixedDecimal() [all …]
|
/external/cn-cbor/test/ |
D | cbor_test.c | 125 ASSERT_EQUAL(err.err, CN_CBOR_NO_ERROR); in CTEST() 174 ASSERT_EQUAL(err.err, CN_CBOR_NO_ERROR); in CTEST() 191 ASSERT_EQUAL(err.err, CN_CBOR_NO_ERROR); in CTEST() 194 ASSERT_EQUAL(err.err, CN_CBOR_ERR_FLOAT_NOT_SUPPORTED); in CTEST() 230 ASSERT_EQUAL(-1, cn_cbor_encoder_write(buf, 0, sizeof(buf), &inv)); in CTEST() 236 ASSERT_EQUAL(err.err, tests[i].err); in CTEST() 380 ASSERT_EQUAL(err.err, CN_CBOR_ERR_INVALID_PARAMETER); in CTEST() 382 ASSERT_EQUAL(err.err, CN_CBOR_ERR_INVALID_PARAMETER); in CTEST() 392 ASSERT_EQUAL(a->length, 0); in CTEST() 396 ASSERT_EQUAL(a->length, 1); in CTEST() [all …]
|
D | ctest.h | 115 #define ASSERT_EQUAL(exp, real) assert_equal(exp, real, __FILE__, __LINE__) macro
|