Exemplo n.º 1
0
        public void BeforeTest()
        {
            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.IsTrue(bl1012.Before(bl1214));
            Assert.IsFalse(bl1214.Before(bl1113));
            Assert.IsFalse(bl1113.Before(bl1214));
            Assert.IsFalse(bl1315.Before(bl1012));
        }