public void GetInvalidCourseName() { var school = new School(); school.GetCourseByName(ValidCourseName); }
public void AddCourseWithStudents() { var school = new School(); school.AddCourse(ValidCourseName, new Student(ValidName, 10000)); Assert.AreEqual(ValidCourseName, school.GetCourseByName(ValidCourseName).CourseName); }
public void AddCourse() { var school = new School(); school.AddCourse(new Course(ValidCourseName)); Assert.AreEqual(ValidCourseName, school.GetCourseByName(ValidCourseName).CourseName); }
public void GetInvalidCourseName() { School school = new School(); school.GetCourseByName("lal"); }
public void AddCourseWithStudents() { School school = new School(); school.AddCourse("lol", new Student("lele", 10000), new Student("male", 10001)); Assert.AreEqual("lol", school.GetCourseByName("lol").CourseName); }
public void AddCourse() { School school = new School(); school.AddCourse(new Course("lol")); Assert.AreEqual("lol",school.GetCourseByName("lol").CourseName); }