Lines Matching defs:test_next
53 static void test_next(const char *input, const char *new_tz, usec_t after, usec_t expect) {
128 test_next("2016-03-27 03:17:00", "", 12345, 1459048620000000);
129 test_next("2016-03-27 03:17:00", "CET", 12345, 1459041420000000);
130 test_next("2016-03-27 03:17:00", "EET", 12345, -1);
131 test_next("2016-03-27 03:17:00 UTC", NULL, 12345, 1459048620000000);
132 test_next("2016-03-27 03:17:00 UTC", "", 12345, 1459048620000000);
133 test_next("2016-03-27 03:17:00 UTC", "CET", 12345, 1459048620000000);
134 test_next("2016-03-27 03:17:00 UTC", "EET", 12345, 1459048620000000);
135 test_next("2016-03-27 03:17:00.420000001 UTC", "EET", 12345, 1459048620420000);
136 test_next("2016-03-27 03:17:00.4200005 UTC", "EET", 12345, 1459048620420001);
137 test_next("2015-11-13 09:11:23.42", "EET", 12345, 1447398683420000);
138 test_next("2015-11-13 09:11:23.42/1.77", "EET", 1447398683420000, 1447398685190000);
139 test_next("2015-11-13 09:11:23.42/1.77", "EET", 1447398683419999, 1447398683420000);