Unit Tests

- Removed obsolete test ('1ST' --> not a date).
This commit is contained in:
Paul Beckingham 2014-06-15 22:47:30 -04:00
parent d1f5020fab
commit 5901a245f1

View file

@ -36,7 +36,7 @@ Context context;
////////////////////////////////////////////////////////////////////////////////
int main (int argc, char** argv)
{
UnitTest t (209);
UnitTest t (208);
// Ensure environment has no influence.
unsetenv ("TASKDATA");
@ -366,9 +366,6 @@ int main (int argc, char** argv)
t.notok (first.sameMonth (now), "1st not in same month as now");
t.is (first.day (), 1, "1st day is 1");
Date FIRST ("1ST");
t.ok (FIRST == first, "1st == 1ST");
Date later ("later");
t.is (later.month (), 1, "later -> m = 1");
t.is (later.day (), 18, "later -> d = 18");