![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
unit test TimeDropframe_test to document the algorithm to compute the components of drop-frame timecode. More...
Go to the source code of this file.
unit test TimeDropframe_test to document the algorithm to compute the components of drop-frame timecode.
Definition in file time-dropframe-test.cpp.
#include "lib/test/run.hpp"#include "lib/test/test-helper.hpp"#include "lib/time/dropframe.hpp"#include "lib/time/timevalue.hpp"Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::time |
| namespace | lib::time::test |
| namespace | lib::time::test::anonymous_namespace{time-dropframe-test.cpp} |
Classes | |
| class | TimeDropframe_test |
Functions | |
| int | dropframe_frames (raw_time_64 timecode) |
| int | dropframe_seconds (raw_time_64 timecode) |
| int | dropframe_minutes (raw_time_64 timecode) |
| int | dropframe_hours (raw_time_64 timecode) |
| int | time_hours (raw_time_64 time) |
| int | time_minutes (raw_time_64 time) |
| int | time_seconds (raw_time_64 time) |
| int | time_millis (raw_time_64 time) |
| LAUNCHER (TimeDropframe_test, "unit common") | |
| Register this test class... | |
Variables | |
| const int | FRAMES = 15 |
| const int | MILLIS = 700 |
| const int | SECONDS = 20 |
| const int | MINUTES = 55 |
| const int | HOURS = 3 |
| const auto | TIME_SCALE_sec {lib::time::TimeValue::SCALE } |
| const auto | TIME_SCALE_ms {lib::time::TimeValue::SCALE / 1'000} |