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); }
public void AddDuplicatedCourse() { School.Lib.School school = new School.Lib.School(); school.AddCourse(new Course("lol")); school.AddCourse(new Course("lol")); }
public void AddCourse() { School.Lib.School school = new School.Lib.School(); school.AddCourse(new Course("lol")); Assert.AreEqual("lol", school.GetCourseByName("lol").CourseName); }