/external/compiler-rt/test/builtins/Unit/ |
ltdf2vfp_test.c | 26 int expected = (a < b) ? 1 : 0; local 27 if (actual != expected) 28 printf("error in __ltdf2vfp(%f, %f) = %d, expected %d\n", 29 a, b, actual, expected); 30 return actual != expected;
|
muldf3vfp_test.c | 26 double expected = a * b; local 27 if (actual != expected) 28 printf("error in test__muldf3vfp(%f, %f) = %f, expected %f\n", 29 a, b, actual, expected); 30 return actual != expected;
|
mulsf3vfp_test.c | 26 float expected = a * b; local 27 if (actual != expected) 28 printf("error in test__mulsf3vfp(%f, %f) = %f, expected %f\n", 29 a, b, actual, expected); 30 return actual != expected;
|
nedf2vfp_test.c | 26 int expected = (a != b) ? 1 : 0; local 27 if (actual != expected) 28 printf("error in __nedf2vfp(%f, %f) = %d, expected %d\n", 29 a, b, actual, expected); 30 return actual != expected;
|
negdf2vfp_test.c | 25 double expected = -a; local 26 if (actual != expected) 27 printf("error in test__negdf2vfp(%f) = %f, expected %f\n", 28 a, actual, expected); 29 return actual != expected;
|
negsf2vfp_test.c | 26 float expected = -a; local 27 if (actual != expected) 28 printf("error in test__negsf2vfp(%f) = %f, expected %f\n", 29 a, actual, expected); 30 return actual != expected;
|
nesf2vfp_test.c | 26 int expected = (a != b) ? 1 : 0; local 27 if (actual != expected) 28 printf("error in __nesf2vfp(%f, %f) = %d, expected %d\n", 29 a, b, actual, expected); 30 return actual != expected;
|
subdf3vfp_test.c | 25 double expected = a - b; local 26 if (actual != expected) 27 printf("error in test__subdf3vfp(%f, %f) = %f, expected %f\n", 28 a, b, actual, expected); 29 return actual != expected;
|
subsf3vfp_test.c | 26 float expected = a - b; local 27 if (actual != expected) 28 printf("error in test__subsf3vfp(%f, %f) = %f, expected %f\n", 29 a, b, actual, expected); 30 return actual != expected;
|
truncdfsf2vfp_test.c | 26 float expected = a; local 27 if (actual != expected) 28 printf("error in test__truncdfsf2vfp(%f) = %f, expected %f\n", 29 a, actual, expected); 30 return actual != expected;
|
/external/guice/core/test/com/google/inject/internal/ |
UniqueAnnotationsTest.java | 34 Annotation expected = getClass().getFields()[0].getAnnotations()[0]; local 36 assertEquals(expected.toString(), actual.toString()); 37 assertEquals(expected.hashCode(), actual.hashCode()); 38 assertEquals(expected, actual);
|
/external/llvm/test/MC/Mips/cnmips/ |
invalid.s | 8 bbit0 $19, -1, foo # CHECK: :[[@LINE]]:16: error: expected 6-bit unsigned immediate 9 bbit0 $19, 64, foo # CHECK: :[[@LINE]]:16: error: expected 6-bit unsigned immediate 10 bbit032 $19, -1, foo # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate 11 bbit032 $19, 32, foo # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate 12 bbit1 $19, -1, foo # CHECK: :[[@LINE]]:16: error: expected 6-bit unsigned immediate 13 bbit1 $19, 64, foo # CHECK: :[[@LINE]]:16: error: expected 6-bit unsigned immediate 14 bbit132 $19, -1, foo # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate 15 bbit132 $19, 32, foo # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate 16 ins $2, $3, -1, 1 # CHECK: :[[@LINE]]:17: error: expected 5-bit unsigned immediate 17 ins $2, $3, 32, 1 # CHECK: :[[@LINE]]:17: error: expected 5-bit unsigned immediat [all...] |
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
ImplicitReferenceTest.java | 53 String expected = "" + local 68 BaksmaliTestUtils.assertSmaliCompiledEquals(source, expected, options); 84 String expected = "" + local 99 BaksmaliTestUtils.assertSmaliCompiledEquals(source, expected, options); 112 String expected = "" + local 124 BaksmaliTestUtils.assertSmaliCompiledEquals(source, expected, options); 137 String expected = "" + local 149 BaksmaliTestUtils.assertSmaliCompiledEquals(source, expected, options); 165 String expected = "" + local 180 BaksmaliTestUtils.assertSmaliCompiledEquals(source, expected, options) 196 String expected = "" + local 223 String expected = "" + local 246 String expected = "" + local [all...] |
/external/testng/src/main/java/org/testng/internal/junit/ |
InexactComparisonCriteria.java | 13 protected void assertElementsEqual(Object expected, Object actual) { 14 if (expected instanceof Double) 15 AssertJUnit.assertEquals((Double)expected, (Double)actual, fDelta); 17 AssertJUnit.assertEquals((Float)expected, (Float)actual, fDelta);
|
/external/valgrind/none/tests/amd64/ |
tm1.stdout.exp | 1 transactionally_apply: ok = 0 (expected 0) 2 xtest: rflags.Z = 1 (expected 1)
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
TimeUtilTest.java | 29 String expected = "2017-09-01 10:29:36 (PDT)"; local 31 assertEquals(expected, timeString); 38 String expected = "2017-08-31"; local 40 assertEquals(expected, timeString);
|
/art/test/202-thread-oome/src/ |
Main.java | 22 } catch (OutOfMemoryError expected) { 24 if (!expected.getMessage().startsWith("pthread_create (3GB stack) failed: ")) { 25 throw new AssertionError(expected);
|
/art/test/477-long-2-float-convers-precision/src/ |
Main.java | 21 public static void assertFloatEquals(float expected, float result) { 22 if (expected != result) { 23 throw new Error("Expected: " + expected + ", found: " + result);
|
/art/test/593-checker-long-2-float-regression/src/ |
Main.java | 22 public static void assertEquals(float expected, float result) { 23 if (expected != result) { 24 throw new Error("Expected: " + expected + ", found: " + result);
|
/development/tools/logblame/ |
test_analyze.py | 6 def test_ParseDuration(s, expected): 8 if actual != expected: 9 raise Exception("expected %s, actual %s" % (expected, actual))
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
TestHelper.java | 29 public void assertSourceEquals(String expected, String actual) { 30 String en = expected.replaceAll("[\\s]+", " ").trim(); 34 String.format("Source comparison failure: expected:<%s> but was:<%s>", expected, actual),
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
DimensionMismatchException.java | 39 * @param expected Expected dimension. 42 int expected) { 43 super(LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, wrong, expected); 44 dimension = expected; 48 * @return the expected dimension.
|
/packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
CameraUnitTest.java | 31 int[] expected; local 35 expected = new int[] {0, 0, 400, 240, 800, 480, 400, 480, 100, 300}; 37 assertEquals(expected, points); 41 expected = new int[] {800, 0, 400, 240, 0, 480, 0, 240, 300, 60}; 43 assertEquals(expected, points); 47 expected = new int[] {800, 480, 400, 240, 0, 0, 400, 0, 700, 180}; 49 assertEquals(expected, points); 53 expected = new int[] {0, 480, 400, 240, 800, 0, 400, 0, 100, 180}; 55 assertEquals(expected, points); 58 private void assertEquals(int expected[], float[] actual) [all...] |
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
tls_test_c.c | 29 #define CHECK_EQ_OR_RETURN(var, expected) \ 32 if ((var) != (expected)) \ 34 printf(#var ": expected %d, found %d\n", expected, var); \
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
ConsoleResultReporterTest.java | 84 StringBuilder expected = new StringBuilder(); local 85 expected.append("Test results:\n"); 86 expected.append("Test Run: 1 Test, 1 Passed, 0 Failed, 0 Ignored\n"); 87 expected.append(" class#method: PASSED " + RUN_TIME_MS_REGEX + "\n"); 88 expected.append(" key1: value1\n"); 89 expected.append(" key2: value2\n"); 91 assertTrue(reporter.getInvocationSummary().matches(expected.toString())); 194 StringBuilder expected = new StringBuilder(); local 195 expected.append("Test results:\n"); 196 expected.append("Test Run 1: 4 Tests, 1 Passed, 1 Failed, 1 Ignored\n") [all...] |