예제 #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);
 }
예제 #2
0
 public void AddDuplicatedCourse()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddCourse(new Course("lol"));
     school.AddCourse(new Course("lol"));
 }
예제 #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);
 }