public void IsExpired_NotExpiredTest() { DateTime now = DateTime.Now; DateTime due = DateTime.Now.AddHours(1); OneTimeSchedule s = new OneTimeSchedule(due); Assert.AreEqual(false, s.IsExpired); }
public void DueDateTimeTest() { DateTime now = DateTime.Now; DateTime due = DateTime.Now.AddHours(1); OneTimeSchedule s = new OneTimeSchedule(due); Assert.AreEqual(due, s.DueDateTime); }