correct expected values for timehandling tests
regarding frames: we don't round, we truncate towards the next lower integer
This commit is contained in:
parent
3c27147459
commit
35380e7873
2 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
TESTING "Time conversion" ./test-time
|
||||
|
||||
TEST "basic functionality" basic <<END
|
||||
err: ECHO: .*: 00:00:00.000
|
||||
err: ECHO: .*: 03:55:20.700
|
||||
err: ECHO: .*: 0:00:00.000
|
||||
err: ECHO: .*: 3:55:20.700
|
||||
END
|
||||
|
||||
TEST "frame rate dependent calculations" fps <<END
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ TEST (ntsc_drop_frame)
|
|||
|
||||
t = lumiera_build_time_ntsc_drop (FRAMES, SECONDS, MINUTES, HOURS);
|
||||
|
||||
CHECK (lumiera_time_millis (t) == 487);
|
||||
CHECK (lumiera_time_millis (t) == 486);
|
||||
CHECK (lumiera_time_seconds (t) == SECONDS);
|
||||
CHECK (lumiera_time_minutes (t) == MINUTES);
|
||||
CHECK (lumiera_time_hours (t) == HOURS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue