Update CVTracker unit test, since we've rounded bounding coordinates, we need to update the expected value in our unit test. Seems close enough to be a rounding error onw.

This commit is contained in:
Jonathan Thomas
2022-05-13 14:55:58 -05:00
parent 8ffcc36cfc
commit eced60545a

View File

@@ -102,7 +102,7 @@ TEST_CASE( "Track_Video", "[libopenshot][opencv][tracker]" )
// Compare if tracked data is equal to pre-tested ones
CHECK(x == Approx(256).margin(1));
CHECK(y == Approx(134).margin(1));
CHECK(y == Approx(132).margin(1));
CHECK(width == Approx(180).margin(1));
CHECK(height == Approx(166).margin(2));
}