/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2Test.java | 283 int expectedLevel = Math.max(0, Math.min(S2CellId.MAX_LEVEL, level)); 284 assertEquals(S2Projections.MIN_WIDTH.getMinLevel(dWidth), expectedLevel); 285 assertEquals(S2Projections.MIN_WIDTH.getMaxLevel(dWidth), expectedLevel); 286 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(dWidth), expectedLevel); 289 assertEquals(S2Projections.MIN_WIDTH.getMinLevel(1.2 * dWidth), expectedLevel); 290 assertEquals(S2Projections.MIN_WIDTH.getMaxLevel(0.8 * dWidth), expectedLevel); 291 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(1.2 * dWidth), expectedLevel); 292 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(0.8 * dWidth), expectedLevel); 299 assertEquals(S2Projections.MIN_AREA.getMinLevel(area1), expectedLevel); 300 assertEquals(S2Projections.MIN_AREA.getMaxLevel(area1), expectedLevel); [all …]
|
/external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/ |
D | SLF4JBridgeHandlerTest.java | 177 void assertLevel(int index, org.apache.log4j.Level expectedLevel) { in assertLevel() argument 179 assertEquals(expectedLevel, le.getLevel()); in assertLevel()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCoverage.java | 70 Level expectedLevel = (Level) test[2]; in TestSelected() local 75 assertEquals(localeId + " : " + path + " : ", expectedLevel, level); in TestSelected()
|
D | TestCoverageLevel.java | 82 Level expectedLevel = Level.fromString(row[1]); in testSpecificPaths() local 84 assertEquals("Level for " + path, expectedLevel, level); in testSpecificPaths()
|
/external/skia/tests/ |
D | StrokeIndirectTest.cpp | 225 int8_t expectedLevel = sk_float_nextlog2(numCombinedSegments); in check_resolve_level() local 226 if ((actualLevel > expectedLevel && in check_resolve_level() 228 (actualLevel < expectedLevel && in check_resolve_level() 232 numCombinedSegments, expectedLevel, actualLevel); in check_resolve_level()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 1494 int expectedOrder, int expectedLevel) { 1549 if (order != Collation.EQUAL && expectedLevel != Collation.NO_LEVEL) { 1550 if (level != expectedLevel) { 1558 + order + " wrong level: " + level + " != " + expectedLevel); 1590 if (order != Collation.EQUAL && expectedLevel != Collation.NO_LEVEL) { 1630 int expectedLevel = relation; 1635 expectedOrder, expectedLevel); 1640 expectedOrder, expectedLevel); 1646 expectedOrder, expectedLevel);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationTest.java | 1497 int expectedOrder, int expectedLevel) { 1552 if (order != Collation.EQUAL && expectedLevel != Collation.NO_LEVEL) { 1553 if (level != expectedLevel) { 1561 + order + " wrong level: " + level + " != " + expectedLevel); 1593 if (order != Collation.EQUAL && expectedLevel != Collation.NO_LEVEL) { 1633 int expectedLevel = relation; 1638 expectedOrder, expectedLevel); 1643 expectedOrder, expectedLevel); 1649 expectedOrder, expectedLevel);
|
/external/icu/icu4c/source/test/intltest/ |
D | collationtest.cpp | 121 UCollationResult expectedOrder, Collation::Level expectedLevel, 1545 UCollationResult expectedOrder, Collation::Level expectedLevel, in checkCompareTwo() argument 1702 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo() 1703 if(level != expectedLevel) { in checkCompareTwo() 1706 (int)fileLineNumber, norm, order, level, expectedLevel); in checkCompareTwo() 1739 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo() 1776 Collation::Level expectedLevel = relation; in checkCompareStrings() local 1782 expectedOrder, expectedLevel, errorCode); in checkCompareStrings() 1787 expectedOrder, expectedLevel, errorCode); in checkCompareStrings() 1796 expectedOrder, expectedLevel, errorCode); in checkCompareStrings()
|
D | itspoof.cpp | 591 URestrictionLevel expectedLevel = test.fExpectedRestrictionLevel; in testRestrictionLevel() local 603 if (expectedLevel > levelSetInSpoofChecker) { in testRestrictionLevel() 619 TEST_ASSERT_EQ(expectedLevel, result & USPOOF_RESTRICTION_LEVEL_MASK); in testRestrictionLevel()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/ |
D | SpoofCheckerTest.java | 587 RestrictionLevel expectedLevel = (RestrictionLevel) test[1]; in TestRestrictionLevel() local 596 expectedLevel, checkResult.restrictionLevel); in TestRestrictionLevel() 599 boolean expectedFailure = expectedLevel.compareTo(levelSetInSpoofChecker) > 0; in TestRestrictionLevel()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/ |
D | SpoofCheckerTest.java | 584 RestrictionLevel expectedLevel = (RestrictionLevel) test[1]; in TestRestrictionLevel() local 593 expectedLevel, checkResult.restrictionLevel); in TestRestrictionLevel() 596 boolean expectedFailure = expectedLevel.compareTo(levelSetInSpoofChecker) > 0; in TestRestrictionLevel()
|