Home
last modified time | relevance | path

Searched refs:converted (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldOutputStreamWriterTest.java210 String converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() local
211 assertTrue("Test 4: Invalid conversion: " + converted, in test_close()
212 converted.equals("a")); in test_close()
220 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
221 assertTrue("Test 5: Invalid conversion: " + converted, in test_close()
222 converted.equals("\u001b$B$(")); in test_close()
224 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
225 assertTrue("Test 6: Invalid conversion: " + converted, in test_close()
226 converted.equals("\u001b$B$(\u001b(B")); in test_close()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamWriterTest.java586 String converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() local
587 assertTrue("invalid conversion 1: " + converted, converted in test_close()
596 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
597 assertTrue("invalid conversion 2: " + converted, converted in test_close()
600 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
601 assertTrue("invalid conversion 3: " + converted, converted in test_close()
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidStrictMathTest.java597 double converted = StrictMath.toDegrees(StrictMath.toRadians(d)); in testToRadiansD() local
599 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToRadiansD()
605 double converted = StrictMath.toRadians(StrictMath.toDegrees(d)); in testToDegreesD() local
607 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToDegreesD()
DOldAndroidMathTest.java574 double converted = Math.toDegrees(Math.toRadians(d)); in testToRadiansD() local
576 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToRadiansD()
582 double converted = Math.toRadians(Math.toDegrees(d)); in testToDegreesD() local
584 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToDegreesD()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java1465 double converted = StrictMath.toDegrees(StrictMath.toRadians(d)); in test_toRadiansD() local
1467 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toRadiansD()
1476 double converted = StrictMath.toRadians(StrictMath.toDegrees(d)); in test_toDegreesD() local
1478 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toDegreesD()
DMathTest.java1871 double converted = Math.toDegrees(Math.toRadians(d)); in test_toRadiansD() local
1873 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toRadiansD()
1882 double converted = Math.toRadians(Math.toDegrees(d)); in test_toDegreesD() local
1884 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toDegreesD()