From 2ab696906c0665ba919783903303e874c49d5b77 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 30 Nov 2015 16:36:35 +0100 Subject: [PATCH] Add comments to tests --- tests/gswe-timestamp-test.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/gswe-timestamp-test.c b/tests/gswe-timestamp-test.c index 34fc088..084d57d 100644 --- a/tests/gswe-timestamp-test.c +++ b/tests/gswe-timestamp-test.c @@ -26,6 +26,7 @@ static struct testdata_t td[] = { { 0 } }; +/* Test Gregorian date values */ static void test_timestamp_gregorian(void) { @@ -141,6 +142,7 @@ test_timestamp_gregorian(void) g_clear_object(×tamp); } +/* Check timezone mangling */ static void test_timestamp_timezone(void) { @@ -191,6 +193,7 @@ test_timestamp_timezone(void) g_clear_object(×tamp); } +/* Test Julian Day (Ephemeris Time) properties */ static void test_timestamp_jdet(void) { @@ -219,10 +222,12 @@ test_timestamp_jdet(void) g_clear_object(×tamp); } +/* Test Julian Day (Universal Time) properties */ static void test_timestamp_jdut(void) {} +/* Test instant-recalc property */ static void test_timestamp_instant(void) { @@ -268,6 +273,7 @@ test_timestamp_instant(void) g_assert_false(jul_valid); } +/* Test Gregorian Date to Julian Day conversion */ static void test_timestamp_conv_gregjd(void) { @@ -296,14 +302,17 @@ test_timestamp_conv_gregjd(void) g_clear_object(×tamp); } +/* Julian Day to Gregorian Date conversion */ static void test_timestamp_conv_jdgreg(void) {} +/* Sidereal time tests */ static void test_timestamp_sidereal(void) {} +/* timestamp_now_* tests */ static void test_timestamp_now(void) {}