OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:doAssert
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/icu/source/test/cintltst/
putiltst.c
47
static void
doAssert
(double expect, double got, const char *message);
69
doAssert
(expn1, 0.5, "uprv_fmod(30.50, 15.00) failed.");
73
doAssert
(expn1, 1, "uprv_ceil(0.021) failed.");
77
doAssert
(expn1, 0, "uprv_floor(0.021) failed.");
81
doAssert
(expn1, 0.675, "uprv_fabs(2.02-1.345) failed.");
84
doAssert
(uprv_fmax(2.4, 1.2), 2.4, "uprv_fmax(2.4, 1.2) failed.");
88
doAssert
(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
91
doAssert
(uprv_fmin(2.4, 1.2), 1.2, "uprv_fmin(2.4, 1.2) failed.");
95
doAssert
(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
98
doAssert
(uprv_max(4, 2), 4, "uprv_max(4, 2) failed.")
[
all
...]
capitst.c
165
static void
doAssert
(int condition, const char *message)
346
doAssert
( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength");
347
doAssert
( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference");
351
doAssert
( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary difference");
352
doAssert
( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference");
353
doAssert
( (ucol_getStrength(col) == UCOL_SECONDARY), "collation object has the wrong strength");
375
doAssert
( tempLength != 0, "getRules() result incorrect" );
383
doAssert
( tempLength == 0x00, "getRulesEx() result incorrect" );
388
doAssert
( tempLength != 0, "getRulesEx() result incorrect" );
403
doAssert
( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object has the wrong strength")
[
all
...]
/external/icu/icu4c/source/test/cintltst/
putiltst.c
47
static void
doAssert
(double expect, double got, const char *message);
69
doAssert
(expn1, 0.5, "uprv_fmod(30.50, 15.00) failed.");
73
doAssert
(expn1, 1, "uprv_ceil(0.021) failed.");
77
doAssert
(expn1, 0, "uprv_floor(0.021) failed.");
81
doAssert
(expn1, 0.675, "uprv_fabs(2.02-1.345) failed.");
84
doAssert
(uprv_fmax(2.4, 1.2), 2.4, "uprv_fmax(2.4, 1.2) failed.");
88
doAssert
(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
91
doAssert
(uprv_fmin(2.4, 1.2), 1.2, "uprv_fmin(2.4, 1.2) failed.");
95
doAssert
(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN");
98
doAssert
(uprv_max(4, 2), 4, "uprv_max(4, 2) failed.")
[
all
...]
capitst.c
168
static void
doAssert
(int condition, const char *message)
349
doAssert
( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength");
350
doAssert
( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference");
354
doAssert
( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary difference");
355
doAssert
( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference");
356
doAssert
( (ucol_getStrength(col) == UCOL_SECONDARY), "collation object has the wrong strength");
378
// android-changed (no rule strings) --
doAssert
( tempLength != 0, "getRules() result incorrect" );
386
// android-changed (no rule strings) --
doAssert
( tempLength == 0x00, "getRulesEx() result incorrect" );
391
// android-changed (no rule strings) --
doAssert
( tempLength != 0, "getRulesEx() result incorrect" );
406
doAssert
( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object has the wrong strength")
[
all
...]
/external/chromium_org/third_party/icu/source/test/intltest/
apicoll.cpp
52
CollationAPITest::
doAssert
(UBool condition, const char *message)
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
((col->compare("ab", "abc", 2) == Collator::EQUAL), "ab = abc with length 2 comparison failed")
[
all
...]
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
...]
/external/icu/icu4c/source/test/intltest/
apicoll.cpp
52
CollationAPITest::
doAssert
(UBool condition, const char *message)
106
doAssert
((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed");
107
doAssert
((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed");
108
doAssert
((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird comparison failed");
109
doAssert
((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird comparison failed");
110
doAssert
((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed");
111
doAssert
((col->compare("","",success) == UCOL_EQUAL), "Comparison between empty strings failed");
113
doAssert
((col->compareUTF8("\x61\x62\xc3\xa4", "\x61\x62\xc3\x9f", success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UTF-8 comparison failed");
121
doAssert
((col->compare(abauIter, abssIter, success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UCharIterator comparison failed");
126
doAssert
((col->compare("ab", "abc", 2) == Collator::EQUAL), "ab = abc with length 2 comparison failed")
[
all
...]
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
...]
Completed in 175 milliseconds