From 9853bfee46f8a42732e2f69fff76fa94b64517ab Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 10 Jan 2012 23:19:54 -0500 Subject: [PATCH] Unit Tests - Restored a 'skip' unit test, because it works most of the time, and only fails during the one end of daylight savings day. Along with several others. --- test/date.t.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/date.t.cpp b/test/date.t.cpp index 920a67fb1..1d1c7228a 100644 --- a/test/date.t.cpp +++ b/test/date.t.cpp @@ -355,10 +355,8 @@ int main (int argc, char** argv) t.is (soq.month () % 3, 1, "soq month is 1, 4, 7 or 10"); t.is (eoq.month () % 3, 0, "eoq month is 3, 6, 9 or 12"); - // TODO This is not true for Q4. Need better test. - // t.ok (soq.sameYear (now), "soq is in same year as now"); - t.skip ("soq is in same year as now"); - + // Note: these fail during the night of daylight savings end. + t.ok (soq.sameYear (now), "soq is in same year as now"); t.ok (eoq.sameYear (now), "eoq is in same year as now"); // Date::sameHour