Home
last modified time | relevance | path

Searched refs:expectedLevel (Results 1 – 11 of 11) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2Test.java283 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/
DSLF4JBridgeHandlerTest.java177 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/
DTestCoverage.java70 Level expectedLevel = (Level) test[2]; in TestSelected() local
75 assertEquals(localeId + " : " + path + " : ", expectedLevel, level); in TestSelected()
DTestCoverageLevel.java82 Level expectedLevel = Level.fromString(row[1]); in testSpecificPaths() local
84 assertEquals("Level for " + path, expectedLevel, level); in testSpecificPaths()
/external/skia/tests/
DStrokeIndirectTest.cpp225 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/
DCollationTest.java1494 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/
DCollationTest.java1497 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/
Dcollationtest.cpp121 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()
Ditspoof.cpp591 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/
DSpoofCheckerTest.java587 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/
DSpoofCheckerTest.java584 RestrictionLevel expectedLevel = (RestrictionLevel) test[1]; in TestRestrictionLevel() local
593 expectedLevel, checkResult.restrictionLevel); in TestRestrictionLevel()
596 boolean expectedFailure = expectedLevel.compareTo(levelSetInSpoofChecker) > 0; in TestRestrictionLevel()