public void TestCourseRemoveStudent() { var course = new Course(); var student = new Student("Name", 12345); course.AddStudent(student); course.RemoveStudent(student); Assert.IsFalse(course.Students.Contains(student)); }
public void TestCourseRemoveStudentNull() { var course = new Course(); course.RemoveStudent(null); }
public void TestCourseRemoveMissingStudent() { var course = new Course(); var student = new Student("Name", 12345); course.RemoveStudent(student); }