Пример #1
0
        public void IsExpired_NotExpiredTest()
        {
            DateTime now = DateTime.Now;
            DateTime due = DateTime.Now.AddHours(1);
            OneTimeSchedule s = new OneTimeSchedule(due);

            Assert.AreEqual(false, s.IsExpired);
        }
Пример #2
0
        public void DueDateTimeTest()
        {
            DateTime now = DateTime.Now;
            DateTime due = DateTime.Now.AddHours(1);
            OneTimeSchedule s = new OneTimeSchedule(due);

            Assert.AreEqual(due, s.DueDateTime);
        }