HomeSort by relevance Sort by last modified time
    Searched refs:doAssert (Results 1 - 7 of 7) sorted by null

  /external/icu4c/test/cintltst/
putiltst.c 25 static void doAssert(double expect, double got, const char *message);
47 doAssert(expn1, 0.5, "uprv_fmod(30.50, 15.00) failed.");
51 doAssert(expn1, 1, "uprv_ceil(0.021) failed.");
55 doAssert(expn1, 0, "uprv_floor(0.021) failed.");
59 doAssert(expn1, 0.675, "uprv_fabs(2.02-1.345) failed.");
62 doAssert(uprv_fmax(2.4, 1.2), 2.4, "uprv_fmax(2.4, 1.2) failed.");
66 doAssert(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
69 doAssert(uprv_fmin(2.4, 1.2), 1.2, "uprv_fmin(2.4, 1.2) failed.");
73 doAssert(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
76 doAssert(uprv_max(4, 2), 4, "uprv_max(4, 2) failed.")
    [all...]
capitst.h 32 static void doAssert(int condition, const char *message);
capitst.c 212 static void doAssert(int condition, const char *message)
337 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab < abc comparison failed");
342 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab < AB comparison failed");
348 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER),
352 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS),
357 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER),
364 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength");
365 doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference");
369 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary difference");
370 doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference")
    [all...]
  /external/icu4c/test/intltest/
apicoll.cpp 49 CollationAPITest::doAssert(UBool condition, const char *message)
130 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed");
131 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed");
132 doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird comparison failed");
133 doAssert((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird comparison failed");
134 doAssert((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed");
136 doAssert((col->compareUTF8("\x61\x62\xc3\xa4", "\x61\x62\xc3\x9f", success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UTF-8 comparison failed");
144 doAssert((col->compare(abauIter, abssIter, success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UCharIterator comparison failed");
149 doAssert((col->compare("ab", "abc", 2) == Collator::EQUAL), "ab = abc with length 2 comparison failed");
150 doAssert((col->compare("ab", "AB", 2) == Collator::LESS), "ab < AB with length 2 comparison failed")
    [all...]
apicoll.h 25 void doAssert(UBool condition, const char *message);
usettest.cpp 390 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(set.size() == 10, "size should be equal to 10")
    [all...]
usettest.h 165 void doAssert(UBool, const char*);

Completed in 327 milliseconds