public void TestRemoveNotAddedStudent() { string name = "40 SOU"; Student student = new Student("Ivan Ivanov", 12233); School school = new School(name); school.RemoveStudent(student); }
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); }