Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public void TestCourseRemoveStudentNull()
 {
     var course = new Course();
     course.RemoveStudent(null);
 }
Exemplo n.º 3
0
 public void TestCourseRemoveMissingStudent()
 {
     var course = new Course();
     var student = new Student("Name", 12345);
     course.RemoveStudent(student);
 }