equal
deleted
inserted
replaced
289 { |
289 { |
290 t2.HomeTime(); |
290 t2.HomeTime(); |
291 } |
291 } |
292 while (t2==t1); |
292 while (t2==t1); |
293 |
293 |
294 if (t2 <= t1) |
294 if (t2 <= t1 && t1.MicroSecondsFrom(t2) > TTimeIntervalMicroSeconds(1000)) // HomeTime() only operates at ms precision |
295 { |
295 { |
296 test.Printf(_L("Time comparison failed\r\n")); |
296 test.Printf(_L("Time comparison failed\r\n")); |
297 test.Printf(_L("Before: 0x%lx\r\n"), t1.Int64()); |
297 test.Printf(_L("Before: 0x%lx\r\n"), t1.Int64()); |
298 test.Printf(_L("After: 0x%lx\r\n"), t2.Int64()); |
298 test.Printf(_L("After: 0x%lx\r\n"), t2.Int64()); |
299 test(t2>t1); |
299 test(t2>t1); |