Esempio n. 1
0
 public void TestLeaveNotJoinedStudent()
 {
     string name = "Crocheting";
     Student student = new Student("Ivan Ivanov", 12233);
     Course course = new Course(name);
     course.Leave(student);
 }
Esempio n. 2
0
 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);
 }