From 4d03cdce3b8d5345dcb2afd659fbb8261afa2dfd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 15 Oct 2011 17:00:24 -0400 Subject: [PATCH] Unit Tests - Marked the 'soq' test as skipped for now, because it is wrong. --- test/date.t.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/date.t.cpp b/test/date.t.cpp index 1068154e5..31bdaab1f 100644 --- a/test/date.t.cpp +++ b/test/date.t.cpp @@ -354,7 +354,11 @@ int main (int argc, char** argv) t.is (eoq.day () / 10, 3, "eoq is the 30th or 31th of a month"); 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"); - t.ok (soq.sameYear (now), "soq is in same year as now"); + + // 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"); + t.ok (eoq.sameYear (now), "eoq is in same year as now"); // Date::sameHour