Index: libs/date_time/test/gregorian/testdate.cpp =================================================================== --- libs/date_time/test/gregorian/testdate.cpp (revision 51061) +++ libs/date_time/test/gregorian/testdate.cpp (working copy) @@ -207,6 +207,11 @@ check("check positive infinity add - true", d11.is_pos_infinity()); date d12(not_a_date_time); + check("2000-01-01 IS less than not_a_date_time!", d1 < d12); + check("2000-01-01 is NOT greater than not_a_date_time", !(d1 > d12)); + check("not_a_date_time is NOT less than 2000-01-01", !(d12 < d1)); + check("not_a_date_time IS greater than 2000-01-01!", d12 > d1); + check("2000-01-01 is NOT equal to not_a_date_time", d1 != d12); check("check not a date", d12.is_not_a_date()); check("check infinity compare ", d10 != d11); check("check infinity compare ", d10 < d11);