Home
last modified time | relevance | path

Searched refs:assertRelation (Results 1 – 10 of 10) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2PolygonTest.java133 private void assertRelation(S2Polygon a, S2Polygon b, int contains, boolean intersects) { in assertRelation() method in S2PolygonTest
140 assertRelation(near10, near30, -1, true);
141 assertRelation(near10, near32, 0, false);
142 assertRelation(near10, near3210, -1, true);
143 assertRelation(near10, nearH3210, 0, false);
144 assertRelation(near30, near32, 1, true);
145 assertRelation(near30, near3210, 1, true);
146 assertRelation(near30, nearH3210, 0, true);
147 assertRelation(near32, near3210, -1, true);
148 assertRelation(near32, nearH3210, 0, false);
[all …]
DS2LoopTest.java283 private void assertRelation( in assertRelation() method in S2LoopTest
296 assertRelation(northHemi, northHemi, 1, true, false); in testLoopRelations()
297 assertRelation(northHemi, southHemi, 0, false, false); in testLoopRelations()
298 assertRelation(northHemi, eastHemi, -1, true, false); in testLoopRelations()
299 assertRelation(northHemi, arctic80, 1, true, true); in testLoopRelations()
300 assertRelation(northHemi, antarctic80, 0, false, true); in testLoopRelations()
301 assertRelation(northHemi, candyCane, -1, true, false); in testLoopRelations()
304 assertRelation(northHemi3, northHemi3, 1, true, false); in testLoopRelations()
305 assertRelation(northHemi3, eastHemi, -1, true, false); in testLoopRelations()
306 assertRelation(northHemi3, arctic80, 1, true, true); in testLoopRelations()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPerf.java87 assertRelation("", true, duration / ITERATIONS / 1000000.0, LEQ, 50.0); // 47231000 in TestXPathParts()
101 assertRelation("", true, duration / ITERATIONS / 1000000.0, LEQ, 50.0); // 47231000 in TestMutableXPathParts()
116 assertRelation("", true, duration / ITERATIONS / 1000000.0, LEQ, 50.0); in TestFastFrozenXPathParts()
131 assertRelation("", true, duration / ITERATIONS / 1000000.0, LEQ, 50.0); in TestFastXPathParts()
162 assertRelation("CLDRFile.ldmlComparator-check", true, failures.value, in TestPathComparison()
166 assertRelation("CLDRFile.ldmlComparator", true, seconds, LEQ, 0.1); in TestPathComparison()
171 assertRelation("DtdComparator-check", true, failures.value, LEQ, 0); in TestPathComparison()
175 assertRelation("DtdComparator", true, newSeconds, LEQ, seconds * .5); in TestPathComparison()
DTestFmwkPlus.java21 return assertRelation(message, true, arg0, relation, args); in assertTrue()
27 return assertRelation(message, false, arg0, relation, args); in assertFalse()
33 return assertRelation(null, true, arg0, relation, args); in assertTrue()
39 return assertRelation(null, false, arg0, relation, args); in assertFalse()
43 public <T, V, R extends TestRelation<T, V>> boolean assertRelation( in assertRelation() method in TestFmwkPlus
DTestDayPeriods.java42assertRelation(locale + " format ⊇ selection", true, sortedFormat, CONTAINS_ALL, sortedSelection);… in TestBasicDayPeriods()
86 assertRelation(locale, true, periods, TestFmwkPlus.CONTAINS, period); in TestAttributes()
DTestLocale.java250 assertRelation("Region ok? " + region + " in " + file, true, in checkRegion()
262 assertRelation("Script ok? " + script + " in " + file, true, in checkScript()
270 if (assertRelation("Language ok? " + language + " in " + file, in checkLanguage()
273 assertRelation("Language ok? " + language + " in " + file, in checkLanguage()
DTestSubdivisions.java42 assertRelation("US contains CA", true, states, TestFmwkPlus.CONTAINS, "usca"); in TestContainment()
DTestSupplementalInfo.java387assertRelation("getCLDRScriptCodes contains Unicode Scripts", true, codes, CONTAINS_ALL, unicodeSc… in TestCldrScriptCodes()
390assertRelation("getCLDRScriptCodes contains allSpecials", true, codes, CONTAINS_ALL, allSpecials); in TestCldrScriptCodes()
393assertRelation("getCLDRScriptCodes contains allCompos", true, codes, CONTAINS_ALL, allCompos); in TestCldrScriptCodes()
401assertRelation("getCLDRScriptCodes contains " + e.getKey(), true, codes, CONTAINS_ALL, e.getValue(… in TestCldrScriptCodes()
409assertRelation("getCLDRScriptCodes contains variants", false, codes, CONTAINS_SOME, variants); in TestCldrScriptCodes()
1859 assertRelation(timezone + " has metazone before 1970?", true, in TestMetazones()
1861 assertRelation(timezone in TestMetazones()
DTestPathHeader.java100 assertRelation("pathheader", true, ph1, TestFmwkPlus.LEQ, ph3); in tempTestAnnotation()
101 assertRelation("pathheader", true, ph3, TestFmwkPlus.LEQ, ph2); in tempTestAnnotation()
1105 assertRelation("ordering", true, pathHeaderLast, LEQ, pathHeader); in TestOrder()
DTestValidity.java102 …if (!assertRelation("Validity", desired, CldrUtility.ifNull(actual, Collections.EMPTY_SET), TestFm… in TestBasicValidity()