Exemple #1
0
 public void TestRemoveNotAddedStudent()
 {
     string name = "40 SOU";
     Student student = new Student("Ivan Ivanov", 12233);
     School school = new School(name);
     school.RemoveStudent(student);
 }
Exemple #2
0
 public void TestRemoveStudent()
 {
     string name = "40 SOU";
     Student student = new Student("Ivan Ivanov", 12233);
     School school = new School(name);
     school.AddStudent(student);
     school.RemoveStudent(student);
     Assert.IsTrue(school.StudentsList.Count == 0);
 }