Exemplo n.º 1
0
 public void TestCoursesListDefaultMsg()
 {
     School newSchool = new School("smg");
     Assert.AreEqual("Sorry, there are no courses in this school", newSchool.CoursesList());
 }
Exemplo n.º 2
0
 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());
 }