fixing test failure on some systems
This commit is contained in:
parent
7341eaa654
commit
a8c0f1d962
@ -77,7 +77,8 @@ public class TermCriteriaTest extends OpenCVTestCase {
|
|||||||
|
|
||||||
public void testToString() {
|
public void testToString() {
|
||||||
String actual = tc2.toString();
|
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);
|
assertEquals(expected, actual);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user