Moritz Bunkus
8739d1a999
timestamp_c: add value_or_zero returning value if valid or 0
2016-12-06 23:00:13 +01:00
Moritz Bunkus
680dff7a3f
timestamp_c: add function for negation
2016-04-11 21:58:12 +02:00
Moritz Bunkus
e476208bdd
all: rename (basic_)timecode_c to (basic_)timestamp_c
...
Part of an ongoing effort to replace the use of the term 'timecode' with
'timestamp'. Timecodes have a very specific meaning in the audio/video
world, and it's not what MKVToolNix has been using the term for.
2015-10-07 09:59:42 +02:00
Moritz Bunkus
3d045a14f3
unit tests: fix argument order of EXPECT_EQ()
...
The first argument is supposed to be the expected value, the second the
value calculated by the code to test.
2015-03-11 21:39:43 +01:00
Moritz Bunkus
15ee1b8ac4
timecode_c: add min()/max()/value_or_min()/value_or_max()
2013-09-17 20:50:46 +02:00
Moritz Bunkus
89fea5a1ef
timecode_c: add samples()/to_samples() conversion
2013-07-04 23:11:44 +02:00
Moritz Bunkus
6a2698f5ec
Split single unit test directory into multiple ones
...
The goal is to enable testing of application specific files, e.g. for
mkvpropedit.
2012-08-13 20:41:35 +02:00