Ejemplo n.º 1
0
 public void TestSchool_RemoveCourse()
 {
     School testSchool = new School(schoolName);
     Course javascript = new Course("Javascript", "Nakov");
     testSchool.AddCourse(javascript);
     testSchool.RemoveCourse(javascript);
     Assert.IsFalse(testSchool.Courses.Contains(javascript), "Course is not in the school");
 }
Ejemplo n.º 2
0
 public void TestSchool_RemoveCourseNullStudent()
 {
     School testSchoolNull = new School(schoolName);
     testSchoolNull.RemoveCourse(null);
 }
Ejemplo n.º 3
0
 public void TestSchool_RemoveCourseArgument()
 {
     School testSchool = new School(schoolName);
     Course javascript = new Course("Javascript", "Nakov");
     Course oop = new Course("OOP", "Nakov");
     testSchool.AddCourse(javascript);
     testSchool.RemoveCourse(oop);
 }