Home
last modified time | relevance | path

Searched refs:expectedOutput (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/math/
DRunCSVTests.java54 void runTest(String func, double expectedOutput, double input, String extra) in runTest() argument
62 allowedError = UlpMap.get(func)*Math.ulp(expectedOutput); in runTest()
64 allowedError = Math.ulp(expectedOutput); in runTest()
68 assertEquals(extra + ": " + m + ": " + input + ": ", expectedOutput, in runTest()
71 assertEquals(extra + ": " + m + ": " + input + ": ", (int) expectedOutput, in runTest()
81 void run2InputTest(String func, double expectedOutput, double input1, in run2InputTest() argument
96 allowedError = UlpMap.get(func)*Math.ulp(expectedOutput); in run2InputTest()
98 allowedError = Math.ulp(expectedOutput); in run2InputTest()
102 assertEquals(extra + ": " + m + ": ", expectedOutput, (double) returnValue, in run2InputTest()
105 assertEquals(extra + ": " + m + ": ", (int) expectedOutput, (int) returnValue, in run2InputTest()
DRunCSVTestsStrict.java24 void runTest(String func, double expectedOutput, double input, String extra) in runTest() argument
31 assertEquals(extra + ": " + m + ": " + input + ": ", expectedOutput, in runTest()
34 assertEquals(extra + ": " + m + ": " + input + ": ", (int) expectedOutput, in runTest()
43 void run2InputTest(String func, double expectedOutput, double input1, in run2InputTest() argument
57 assertEquals(extra + ": " + m + ": " , expectedOutput, (double) returnValue, 0D); in run2InputTest()
59 assertEquals(extra + ": " + m + ": ", (int) expectedOutput, (int) returnValue, 0D); in run2InputTest()
DCSVTest.java67 double expectedOutput = Double.parseDouble(testCase[1]); in runTest() local
75 run2InputTest(function, expectedOutput, input, input2, extra); in runTest()
80 runTest(function, expectedOutput, input, extra); in runTest()
84 abstract void runTest(String func, double expectedOutput, double input, in runTest() argument
87 …abstract void run2InputTest(String func, double expectedOutput, double input1, double input2, Stri… in run2InputTest() argument
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_SingleByteAbstractTest.java64 …public static void decodeReplace (byte[] input, char[] expectedOutput) throws CharacterCodingExcep… in decodeReplace() argument
72 expectedOutput, in decodeReplace()
DOldCharset_AbstractTest.java123 static void decode (byte[] input, char[] expectedOutput) throws CharacterCodingException { in decode() argument
128 assertEqualChars(expectedOutput, outputCB); in decode()