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