You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user