Beispiel #1
0
 public void AddCourseWithStudents()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddCourse("lol", new Student("lele", 10000), new Student("male", 10001));
     Assert.AreEqual("lol", school.GetCourseByName("lol").CourseName);
 }
Beispiel #2
0
 public void GetInvalidCourseName()
 {
     School.Lib.School school = new School.Lib.School();
     school.GetCourseByName("lal");
 }
Beispiel #3
0
 public void AddCourse()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddCourse(new Course("lol"));
     Assert.AreEqual("lol", school.GetCourseByName("lol").CourseName);
 }