diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-04-16 15:58:21 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-04-23 14:39:01 +0200 |
commit | 9b84f8a987e7cd3bb966d065d50d79d453907bad (patch) | |
tree | 22f95cc062dd8305fee33f28c649a112fd464767 /tests/ref | |
parent | 43b70680706f1c275f0c4a67e1483e409e73538a (diff) | |
download | ffmpeg-9b84f8a987e7cd3bb966d065d50d79d453907bad.tar.gz |
parseutils: add av_parse_time() test.
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/parseutils | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/fate/parseutils b/tests/ref/fate/parseutils index 6e14c91671..e6e4fb97e9 100644 --- a/tests/ref/fate/parseutils +++ b/tests/ref/fate/parseutils @@ -62,3 +62,15 @@ red@256 -> error red@10foo -> error red@-1.0 -> error red@-0.0 -> R(255) G(0) B(0) A(0) + +Testing av_parse_time() +(now is 2012-03-17 09:14:13 +0100, local time is UTC+1) +now -> 1331972053.000000 = 2012-03-17T08:14:13Z +12:35:46 -> 1331984146.000000 = 2012-03-17T11:35:46Z +2000-12-20 0:02:47.5z -> 977270567.500000 = 2000-12-20T00:02:47Z +2000-12-20T010247.6 -> 977270567.600000 = 2000-12-20T00:02:47Z +2:34:56.79 -> +9296790000 +-1:23:45.67 -> -5025670000 +42.1729 -> +42172900 +-1729.42 -> -1729420000 +12:34 -> error |