Exemplo n.º 1
0
 public void TestStudent_JoinCourse()
 {
     Student testStudentOne = new Student("Pesho");
     Course javascript = new Course("Javascript Course", "Nakov");
     testStudentOne.JoinCourse(javascript);
     Assert.IsTrue(javascript.Students.Contains(testStudentOne), "Student has not been included in the course");
 }
Exemplo n.º 2
0
 public void TestStudent_LeaveCourseNull()
 {
     Student testStudentOne = new Student("Pesho");
     Course javascript = new Course("Javascript Course", "Nakov");
     testStudentOne.JoinCourse(javascript);
     testStudentOne.LeaveCourse(null);
 }
Exemplo n.º 3
0
 public void TestStudent_JoinCourseNull()
 {
     Student testStudentOne = new Student("Pesho");
     testStudentOne.JoinCourse(null);
 }