Lines Matching refs:failures
31 int failures = 0;
33 failures += testNearFloatHalfCases();
34 failures += testNearDoubleHalfCases();
36 if (failures > 0) {
38 + failures + " failures.");
44 int failures = 0;
56 failures += testNearHalfCases(testCase[0], (long)testCase[1]);
59 return failures;
63 int failures = 0;
65 failures += Tests.test("Math.round", input, Math.round(input), expected);
66 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expected);
68 return failures;
72 int failures = 0;
84 failures += testNearHalfCases(testCase[0], (int)testCase[1]);
87 return failures;
91 int failures = 0;
93 failures += Tests.test("Math.round", input, Math.round(input), expected);
94 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expected);
96 return failures;