Exemple #1
0
        public void AfterTest()
        {
            Lesson bl1214 = new Lesson(" ", "ה", 1, " ", "ראשון", 12, 14, 2, 1, " ");
            Lesson bl1012 = new Lesson(" ", "ה", 1, " ", "ראשון", 10, 12, 2, 1, " ");
            Lesson bl1416 = new Lesson(" ", "ה", 1, " ", "ראשון", 14, 16, 2, 1, " ");
            Lesson bl1113 = new Lesson(" ", "ה", 1, " ", "ראשון", 11, 13, 2, 1, " ");
            Lesson bl1315 = new Lesson(" ", "ה", 1, " ", "ראשון", 13, 15, 2, 1, " ");

            Assert.IsFalse(bl1012.After(bl1214));
            Assert.IsFalse(bl1214.After(bl1113));
            Assert.IsTrue(bl1416.After(bl1214));
            Assert.IsTrue(bl1416.After(bl1012));
        }