public string SchoolYearPreviousTest(string strType, string cSchoolYear) { string result = DateFC.SchoolYearPrevious(strType, cSchoolYear); return(result); // TODO: add assertions to method DateFCTest.SchoolYearPreviousTest(String, String) }
public void SchoolYearPreviousTest() { //Arrange string cschoolyear = "20172018"; string expect = "2016-2017"; // Act var result = DateFC.SchoolYearPrevious("-", cschoolyear); //Assert Assert.AreEqual(expect, result, $"school year previous school year format, {result}"); }