public void TestLeaveNotJoinedStudent() { string name = "Crocheting"; Student student = new Student("Ivan Ivanov", 12233); Course course = new Course(name); course.Leave(student); }
public void TestLeaveStudent() { string name = "Crocheting"; Student student = new Student("Ivan Ivanov", 12233); Course course = new Course(name); course.Join(student); course.Leave(student); Assert.IsTrue(course.StudentsList.Count == 0); }