Searched refs:doAssert (Results 1 - 7 of 7) sorted by relevance

/external/icu4c/test/cintltst/
H A Dcapitst.h32 static void doAssert(int condition, const char *message);
H A Dputiltst.c30 static void doAssert(double expect, double got, const char *message);
52 doAssert(expn1, 0.5, "uprv_fmod(30.50, 15.00) failed.");
56 doAssert(expn1, 1, "uprv_ceil(0.021) failed.");
60 doAssert(expn1, 0, "uprv_floor(0.021) failed.");
64 doAssert(expn1, 0.675, "uprv_fabs(2.02-1.345) failed.");
67 doAssert(uprv_fmax(2.4, 1.2), 2.4, "uprv_fmax(2.4, 1.2) failed.");
71 doAssert(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
74 doAssert(uprv_fmin(2.4, 1.2), 1.2, "uprv_fmin(2.4, 1.2) failed.");
78 doAssert(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
81 doAssert(uprv_ma
409 static void doAssert(double got, double expect, const char *message) function
[all...]
H A Dcapitst.c223 static void doAssert(int condition, const char *message) function
347 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab < abc comparison failed");
352 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab < AB comparison failed");
358 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER),
362 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS),
367 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER),
374 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength");
375 doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference");
379 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary difference");
380 doAssert( (ucol_getStrengt
[all...]
/external/icu4c/test/intltest/
H A Dapicoll.cpp52 CollationAPITest::doAssert(UBool condition, const char *message) function in class:CollationAPITest
138 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed");
139 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed");
140 doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird comparison failed");
141 doAssert((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird comparison failed");
142 doAssert((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed");
143 doAssert((col->compare("","",success) == UCOL_EQUAL), "Comparison between empty strings failed");
145 doAssert((col->compareUTF8("\x61\x62\xc3\xa4", "\x61\x62\xc3\x9f", success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UTF-8 comparison failed");
153 doAssert((col->compare(abauIter, abssIter, success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UCharIterator comparison failed");
158 doAssert((co
[all...]
H A Dapicoll.h25 void doAssert(UBool condition, const char *message);
H A Dusettest.cpp390 doAssert(set.isEmpty() == TRUE, "set should be empty");
391 doAssert(set.size() == 0, "size should be 0");
393 doAssert(set.size() == 0x110000, "size should be 0x110000");
397 doAssert(set.isEmpty() == FALSE, "set should not be empty");
398 doAssert(set.size() != 0, "size should not be equal to 0");
399 doAssert(set.size() == 26, "size should be equal to 26");
402 doAssert(set.size() == 22, "size should be equal to 22");
405 doAssert(set.size() == 19, "size should be equal to 19");
408 doAssert(set.size() == 16, "size should be equal to 16");
411 doAssert(se
2116 UnicodeSetTest::doAssert(UBool condition, const char *message) function in class:UnicodeSetTest
[all...]
H A Dusettest.h165 void doAssert(UBool, const char*);

Completed in 1381 milliseconds