Home
last modified time | relevance | path

Searched defs:expectedResult (Results 1 – 25 of 171) sorted by relevance

1234567

/external/armnn/samples/common/test/Audio/
DMathUtilsTest.cpp22 float expectedResult = 0; variable
31 std::vector<float> expectedResult(32, 0); variable
53 float expectedResult[] = { 0.0, 0.5, 2 }; variable
70 std::vector<float> expectedResult = { 0, -25.328436 }; variable
88 float expectedResult = 0.100; variable
108 float expectedResult = 0.300; variable
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DCompoundTransliteratorTest.java148 String expectedResult=s; in TestTransliterate() local
152 …placeableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(expectedResult), expectedResu… in TestTransliterate() local
159 …D() + ":String, index2(1,2,2,3)", s + "->" + rsource3, result.equals(expectedResult), expectedResu… in TestTransliterate() local
223 private void expect(Transliterator t, String source, String expectedResult) { in expect()
225 expectAux(t.getID() + ":String", source, result, expectedResult); in expect() local
230 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); in expect() local
261 expectedResult); in expect() local
265 String result, String expectedResult) { in expectAux()
271 private void expectAux(String tag, String summary, boolean pass, String expectedResult) { in expectAux()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DCompoundTransliteratorTest.java145 String expectedResult=s; in TestTransliterate() local
149 …placeableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(expectedResult), expectedResu… in TestTransliterate() local
156 …D() + ":String, index2(1,2,2,3)", s + "->" + rsource3, result.equals(expectedResult), expectedResu… in TestTransliterate() local
220 private void expect(Transliterator t, String source, String expectedResult) { in expect()
222 expectAux(t.getID() + ":String", source, result, expectedResult); in expect() local
227 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); in expect() local
258 expectedResult); in expect() local
262 String result, String expectedResult) { in expectAux()
268 private void expectAux(String tag, String summary, boolean pass, String expectedResult) { in expectAux()
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DArithmeticTestCase.java64 private void addHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in addHelper()
86 …private void subtractHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in subtractHelper()
109 …private void multiplyHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in multiplyHelper()
127 … private void divideHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in divideHelper()
152 … private void moduloHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in moduloHelper()
169 private void compareHelper (Number n1, Number n2, int expectedResult) in compareHelper()
186 private void negateHelper(Number n, double expectedResult, Class expectedResultType) in negateHelper()
/external/armnn/delegate/test/
DDelegateOptionsTest.cpp26 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
55 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
83 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
122 std::vector<uint8_t> expectedResult = { 1, 2, 2, 2 }; variable
145 std::vector<float> expectedResult = { 1.0f, -2.0f, 3.0f, -4.0f }; variable
180 … std::vector<float> expectedResult = { 0.995004177f, -0.504846036f, -0.989992499f, -0.112152621f }; variable
218 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
258 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
290 std::vector<float> expectedResult = { 1, 2, 2, 2 }; in CreateFp16StringParsingTestRun() local
/external/jazzer-api/agent/src/test/java/com/code_intelligence/jazzer/autofuzz/
DTestHelpers.java55 Object expectedResult, String expectedResultString, List<Object> cannedData) { in consumeTestCase()
61 Type type, Object expectedResult, String expectedResultString, List<Object> cannedData) { in consumeTestCase()
68 static void autofuzzTestCase(Object expectedResult, String expectedResultString, Executable func, in autofuzzTestCase()
/external/guava/android/guava-tests/test/com/google/common/math/
DIntMathTest.java57 BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x)); in testCeilingPowerOfTwo() local
72 BigInteger expectedResult = BigIntegerMath.floorPowerOfTwo(BigInteger.valueOf(x)); in testFloorPowerOfTwo() local
492 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local
508 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local
524 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local
539 BigInteger expectedResult = valueOf(b).pow(k); in testCheckedPow() local
DLongMathTest.java59 BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x)); in testCeilingPowerOfTwo() local
74 BigInteger expectedResult = BigIntegerMath.floorPowerOfTwo(BigInteger.valueOf(x)); in testFloorPowerOfTwo() local
574 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local
594 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local
625 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local
645 BigInteger expectedResult = valueOf(b).pow(exp); in testCheckedPow() local
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java57 BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x)); in testCeilingPowerOfTwo() local
72 BigInteger expectedResult = BigIntegerMath.floorPowerOfTwo(BigInteger.valueOf(x)); in testFloorPowerOfTwo() local
492 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local
508 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local
524 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local
539 BigInteger expectedResult = valueOf(b).pow(k); in testCheckedPow() local
DLongMathTest.java59 BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x)); in testCeilingPowerOfTwo() local
74 BigInteger expectedResult = BigIntegerMath.floorPowerOfTwo(BigInteger.valueOf(x)); in testFloorPowerOfTwo() local
574 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local
594 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local
625 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local
645 BigInteger expectedResult = valueOf(b).pow(exp); in testCheckedPow() local
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPersonNameFormatterTest.java77 String expectedResult = testCase[5]; in executeTestCases() local
410 String expectedResult = testCase[1]; in TestLiteralTextElision2() local
437 String expectedResult = testCase[1]; in TestPatternSelection() local
460 String expectedResult = testCase[1]; in TestCapitalization() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPersonNameFormatterTest.java80 String expectedResult = testCase[5]; in executeTestCases() local
413 String expectedResult = testCase[1]; in TestLiteralTextElision2() local
440 String expectedResult = testCase[1]; in TestPatternSelection() local
463 String expectedResult = testCase[1]; in TestCapitalization() local
/external/junit-params/src/test/java/junitparams/custom/combined/
DCartesianTest.java43 Object[] expectedResult = new Object[][]{ in shouldReturnProductOfTwoArrays() local
66 Object[] expectedResult = new Object[][]{ in shouldReturnProductOfThreeArrays() local
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationCurrencyTest.java67 int expectedResult = 0; in TestCurrency() local
113 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationCurrencyTest.java70 int expectedResult = 0; in TestCurrency() local
116 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult()
/external/TestParameterInjector/src/test/java/com/google/testing/junit/testparameterinjector/
DParameterValueParsingTest.java113 final Object expectedResult; field in ParameterValueParsingTest.ParseYamlValueToJavaTypeCases
115 ParseYamlValueToJavaTypeCases(String yamlString, Class<?> javaClass, Object expectedResult) { in ParseYamlValueToJavaTypeCases()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeInterpolatorTest.java218 int time, float expected, Result expectedResult, Interpolator interpolator) { in verifyValue()
225 int time, float[] expected, Result expectedResult, Interpolator interpolator) { in verifyValues()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowIncidentManagerTest.java19 public void expectedResult() { in expectedResult() method in ShadowIncidentManagerTest
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DXPathExpressionParser.java102 …private void evaluateWithXPathFixture(String xPathString, QName expectedResult, boolean iterate, S… in evaluateWithXPathFixture()
138 …public void evaluate(String xPathString, QName expectedResult, SimpleContentHandlingInterface<?> h… in evaluate()
/external/armnn/tests/NetworkExecutionUtils/test/
DNetworkExecutionUtilsTests.cpp30 const double expectedResult = 74.059098023; // Calculated manually. variable
/external/icu/icu4c/source/test/iotest/
Diotest.cpp211 UChar expectedResult[512]; in DataDrivenPrintf() local
373 const int32_t expectedResult = 3; in ScanfMultipleIntegers() local
413 UChar expectedResult[512]; in DataDrivenScanf() local
616 UChar expectedResult[512]; in DataDrivenPrintfPrecision() local
/external/cronet/third_party/icu/source/test/iotest/
Diotest.cpp211 UChar expectedResult[512]; in DataDrivenPrintf() local
373 const int32_t expectedResult = 3; in ScanfMultipleIntegers() local
413 UChar expectedResult[512]; in DataDrivenScanf() local
616 UChar expectedResult[512]; in DataDrivenPrintfPrecision() local
/external/mockito/src/test/java/org/mockito/internal/verification/
DDescriptionTest.java41 String expectedResult = failureMessage + "\n" + exceptionMessage; in verification_failure_should_prepend_expected_message() local
/external/guava/guava-testlib/src/com/google/common/testing/
DCollectorTester.java141 public final CollectorTester<T, A, R> expectCollects(@Nullable R expectedResult, T... inputs) { in expectCollects()
151 private void doExpectCollects(@Nullable R expectedResult, List<T> inputs) { in doExpectCollects()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DOggExtractorNonParameterizedTest.java95 private void assertSniff(byte[] data, boolean expectedResult) throws IOException { in assertSniff()

1234567