Merge pull request #304 from apavlenko:test_java_fix_double

This commit is contained in:
Andrey Kamaev 2013-01-17 18:20:47 +04:00 committed by OpenCV Buildbot
commit 101e9bd456

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