Skip to content

Commit

Permalink
fix unit test for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 25, 2024
1 parent fe28599 commit 467576d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/test_properties/test_properties.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2018 Dan Dennedy <[email protected]>
* Copyright (C) 2013-2024 Dan Dennedy <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -244,7 +244,7 @@ private Q_SLOTS:
Profile profile("atsc_720p_2398");
Properties p;
p.set("_profile", profile.get_profile(), 0);
const char *timeString = "11:22:33:04";
const char *timeString = "11:22:33;04";
// 11 * 3600 + 22 * 60 + 33 = 40953 s
// floor(23.98 fps * 40953 s) = 981890 f
// 981890 f + 4 f = 981894 f
Expand All @@ -264,7 +264,7 @@ private Q_SLOTS:
// Case that is known to have floating point error
frames = 2877;
p.set("key", frames);
QCOMPARE(p.get_time("key", mlt_time_smpte_df), "00:02:00:00");
QCOMPARE(p.get_time("key", mlt_time_smpte_df), "00:02:00;00");
QCOMPARE(p.get_time("key", mlt_time_clock), "00:02:00.000");

if (kRunLongTests)
Expand Down

0 comments on commit 467576d

Please sign in to comment.