public void CheckTeacherQualificationsTest超過65歲回傳AgeFaild() { var teacher = new TeachearServicse(); var result = teacher.checkTeacherQualifications(); var actual = result.FirstOrDefault(p => p.Name == "T1").CheckResult = ODT.QualificationResult.AgeFaild; Assert.AreEqual(ODT.QualificationResult.AgeFaild, actual); }
public void CheckTeacherQualificationsTest內聘65歲以下回傳NoProblem() { var teacher = new TeachearServicse(); var result = teacher.checkTeacherQualifications(); }
public void CheckTeacherQualificationsTest外聘超過60小時回傳MaxHourLimit() { var teacher = new TeachearServicse(); var result = teacher.checkTeacherQualifications(); }