Ticket #2804: testdate.patch
File testdate.patch, 902 bytes (added by , 14 years ago) |
---|
-
libs/date_time/test/gregorian/testdate.cpp
207 207 check("check positive infinity add - true", d11.is_pos_infinity()); 208 208 209 209 date d12(not_a_date_time); 210 check("2000-01-01 IS less than not_a_date_time!", d1 < d12); 211 check("2000-01-01 is NOT greater than not_a_date_time", !(d1 > d12)); 212 check("not_a_date_time is NOT less than 2000-01-01", !(d12 < d1)); 213 check("not_a_date_time IS greater than 2000-01-01!", d12 > d1); 214 check("2000-01-01 is NOT equal to not_a_date_time", d1 != d12); 210 215 check("check not a date", d12.is_not_a_date()); 211 216 check("check infinity compare ", d10 != d11); 212 217 check("check infinity compare ", d10 < d11);