mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
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() {
|
||||
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…
Reference in New Issue
Block a user