fixing test failure on some systems

pull/304/head
Andrey Pavlenko 12 years ago
parent 7341eaa654
commit a8c0f1d962
  1. 3
      modules/java/android_test/src/org/opencv/test/core/TermCriteriaTest.java

@ -77,7 +77,8 @@ public class TermCriteriaTest extends OpenCVTestCase {
public void testToString() {
String actual = tc2.toString();
String expected = "{ type: 2, maxCount: 4, epsilon: " + EPS + "}";
double eps = EPS;
String expected = "{ type: 2, maxCount: 4, epsilon: " + eps + "}";
assertEquals(expected, actual);
}

Loading…
Cancel
Save