mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-807
Cleaned up TestCases. X-SVN-Rev: 4302
This commit is contained in:
parent
bcf6c18886
commit
bffbf8d0d4
1 changed files with 5 additions and 5 deletions
|
@ -137,12 +137,12 @@ void CollationDummyTest::doTest( UnicodeString source, UnicodeString target, Col
|
|||
reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, incResult, result );
|
||||
*/
|
||||
doTestVariant(source, target, result);
|
||||
if(result == Collator::EComparisonResult::LESS) {
|
||||
doTestVariant(target, source, Collator::EComparisonResult::GREATER);
|
||||
} else if (result == Collator::EComparisonResult::GREATER) {
|
||||
doTestVariant(target, source, Collator::EComparisonResult::LESS);
|
||||
if(result == Collator::LESS) {
|
||||
doTestVariant(target, source, Collator::GREATER);
|
||||
} else if (result == Collator::GREATER) {
|
||||
doTestVariant(target, source, Collator::LESS);
|
||||
} else {
|
||||
doTestVariant(target, source, Collator::EComparisonResult::EQUAL);
|
||||
doTestVariant(target, source, Collator::EQUAL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue