Add time zone check to GsweTimestamp test case

pull/16/head
Gergely Polonkai 9 years ago
parent 105cf7c83b
commit 4b61c453fd

@ -19,6 +19,7 @@ test_timestamp_jd(void)
timestamp = gswe_timestamp_new_from_julian_day(jd);
g_assert(timestamp);
g_assert(gswe_timestamp_get_gregorian_timezone(timestamp) == 1.0);
g_assert(gswe_timestamp_get_gregorian_year(timestamp, NULL) == 1983);
g_assert(gswe_timestamp_get_gregorian_month(timestamp, NULL) == 3);
g_assert(gswe_timestamp_get_gregorian_day(timestamp, NULL) == 7);

Loading…
Cancel
Save