Commit 85df567b authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix timewarp test after rounding change in timewarp clip duration

parent 960c51c2
Pipeline #3741 passed with stage
in 22 minutes and 35 seconds
......@@ -109,7 +109,8 @@ TEST_CASE("Test of timewarping", "[Timewarp]")
REQUIRE(timeline->getClipPlaytime(cid3) == 1);
// This is the higher than the limit, should not work
REQUIRE_FALSE(timeline->requestClipTimeWarp(cid3, double(curLength) + 0.1, undo2, redo2));
// (we have some error margin in duration rounding, multiply by 10)
REQUIRE_FALSE(timeline->requestClipTimeWarp(cid3, double(curLength) * 10, undo2, redo2));
pCore->m_projectManager = nullptr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment