public string SchoolYearNextTest(string strType, string cSchoolYear) { string result = DateFC.SchoolYearNext(strType, cSchoolYear); return(result); // TODO: add assertions to method DateFCTest.SchoolYearNextTest(String, String) }
public void SchoolYearNextTest() { //Arrange string cschoolyear = "20172018"; string expect = "2018-2019"; // Act var result = DateFC.SchoolYearNext("-", cschoolyear); //Assert Assert.AreEqual(expect, result, $"Next school year format, {result}"); }