Esempio n. 1
0
        public void RemoveCourse()
        {
            School mySchool = new School();

            Course math = new Course();
            Course OOP = new Course();

            mySchool.AddCourse(math);
            mySchool.AddCourse(OOP);

            mySchool.RemoveCourse(math);

            Assert.IsTrue(mySchool.Courses.Count == 1);
        }
Esempio n. 2
0
        public void RemoveNullCourse()
        {
            School mySchool = new School();

            mySchool.RemoveCourse(null);
        }