Commit 416804fe authored by Marton Balint's avatar Marton Balint

avutil/tests/parseutils: add some big duration tests

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 4c777d52
...@@ -185,6 +185,10 @@ static void test_av_parse_time(void) ...@@ -185,6 +185,10 @@ static void test_av_parse_time(void)
"42.1729", "42.1729",
"-1729.42", "-1729.42",
"12:34", "12:34",
"2147483648s",
"4294967296ms",
"8589934592us",
"9223372036854775808us",
}; };
av_log_set_level(AV_LOG_DEBUG); av_log_set_level(AV_LOG_DEBUG);
......
...@@ -90,6 +90,10 @@ now -> 1331972053.200000 = 2012-03-17T08:14:13Z ...@@ -90,6 +90,10 @@ now -> 1331972053.200000 = 2012-03-17T08:14:13Z
42.1729 -> +42172900 42.1729 -> +42172900
-1729.42 -> -1729420000 -1729.42 -> -1729420000
12:34 -> +754000000 12:34 -> +754000000
2147483648s -> +2147483648000000
4294967296ms -> +4294967296000
8589934592us -> +8589934592
9223372036854775808us -> error
Testing av_get_known_color_name() Testing av_get_known_color_name()
AliceBlue -> R(240) G(248) B(255) A(0) AliceBlue -> R(240) G(248) B(255) A(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment