Home
last modified time | relevance | path

Searched refs:assertIntEquals (Results 1 – 11 of 11) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Duformattedvaluetst.c157 assertIntEquals(AAPE_MSG("category"), category, _category); in AssertAllPartsEqual()
161 assertIntEquals(AAPE_MSG("field"), field, _field); in AssertAllPartsEqual()
166 assertIntEquals(AAPE_MSG("start"), start, _start); in AssertAllPartsEqual()
167 assertIntEquals(AAPE_MSG("limit"), limit, _limit); in AssertAllPartsEqual()
171 assertIntEquals(AAPE_MSG("context"), context, _context); in AssertAllPartsEqual()
198 assertIntEquals(message, 0, length); in checkFormattedValueString()
204 assertIntEquals(message, actualLength, length); in checkFormattedValueString()
225 assertIntEquals("category", in checkFormattedValue()
227 assertIntEquals("field", in checkFormattedValue()
231 assertIntEquals("start", in checkFormattedValue()
[all …]
Dunumberrangeformattertst.c72 assertIntEquals("Length should be as expected", resultLength, len); in TestExampleCode()
116 assertIntEquals("Identity result should match", in TestFormattedValue()
153 assertIntEquals("Should have set error code", U_NUMBER_SKELETON_SYNTAX_ERROR, ec); in TestSkeletonParseError()
154 assertIntEquals("Should have correct skeleton error offset", 17, perror.offset); in TestSkeletonParseError()
185 assertIntEquals("First len should be as expected", strlen(buffer), len); in TestGetDecimalNumbers()
189 assertIntEquals("Second len should be as expected", strlen(buffer), len); in TestGetDecimalNumbers()
Dunumberformattertst.c116 assertIntEquals("Field position should be correct", 14, ufpos.beginIndex); in TestSkeletonFormatToFields()
117 assertIntEquals("Field position should be correct", 15, ufpos.endIndex); in TestSkeletonFormatToFields()
170assertIntEquals("Grouping separator begin index", expected.beginIndex, actual.beginIndex); in TestSkeletonFormatToFields()
171 assertIntEquals("Grouping separator end index", expected.endIndex, actual.endIndex); in TestSkeletonFormatToFields()
173 assertIntEquals("Should have seen all grouping separators", 4, i); in TestSkeletonFormatToFields()
263 assertIntEquals("Should have set error code", U_NUMBER_SKELETON_SYNTAX_ERROR, ec); in TestSkeletonParseError()
264 assertIntEquals("Should have correct skeleton error offset", 17, perror.offset); in TestSkeletonParseError()
292 assertIntEquals("Length should be as expected", strlen(buffer), len); in TestToDecimalNumber()
Dulistfmttest.c295 assertIntEquals("TEST beginIndex", 0, beginIndex); in TestUList21871_A()
296 assertIntEquals("TEST endIndex", 1, endIndex); in TestUList21871_A()
343 assertIntEquals("TEST beginIndex", 5, beginIndex); in TestUList21871_B()
344 assertIntEquals("TEST endIndex", 6, endIndex); in TestUList21871_B()
Dcintltst.h156 U_CFUNC UBool assertIntEquals(const char* msg, int64_t expected, int64_t actual);
Dcrelativedateformattest.c483 assertIntEquals("String length", ulenexp, ulenget); in TestNumericField()
538 assertIntEquals("String length", ulenexp, ulenget); in TestNumericField()
Dcpluralrulestest.c347 assertIntEquals("Length should be as expected", u_strlen(buffer), len); in TestSelectRange()
Dcintltst.c773 U_CFUNC UBool assertIntEquals(const char* message, int64_t expected, int64_t actual) { in assertIntEquals() function
Dudatpg_test.c822assertIntEquals("Wrong hour cycle", testCases[i].expectedHourCycle, actualHourCycle); in TestRegionOverride()
Dcloctst.c898 assertIntEquals("countAvailable() should be same in old and new methods", in TestGetAvailableLocalesByType()
907 assertIntEquals("String length should be correct", uprv_strlen(old), len); in TestGetAvailableLocalesByType()
946 assertIntEquals("Should return as many strings as claimed", in TestGetAvailableLocalesByType()
955 assertIntEquals("After reset, should return as many strings as claimed", in TestGetAvailableLocalesByType()
Dcnumtst.c2348 assertIntEquals("Result with case sensitive", 100, (int64_t)result); in TestParseCaseSensitive()
2353 assertIntEquals("Position with case sensitive", 1, ppos); in TestParseCaseSensitive()
2354 assertIntEquals("Result with case sensitive", 1, (int64_t)result); in TestParseCaseSensitive()