public void TestCoursesListDefaultMsg() { School newSchool = new School("smg"); Assert.AreEqual("Sorry, there are no courses in this school", newSchool.CoursesList()); }
public void TestToStringEmpty() { School newSchool = new School("smg"); StringBuilder result = new StringBuilder(); result.AppendLine(newSchool.CoursesList()); result.AppendLine(newSchool.StudentsList()); Assert.AreEqual(result.ToString(), newSchool.ToString()); }