fixing test failure on some systems

This commit is contained in:
Andrey Pavlenko 2013-01-16 18:33:35 +04:00
parent 7341eaa654
commit a8c0f1d962

View File

@ -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);
}