public string YearTOGOTest(string strType, string cSchoolYear) { string result = DateFC.YearTOGO(strType, cSchoolYear); return(result); // TODO: add assertions to method DateFCTest.YearTOGOTest(String, String) }
public void YearTOGOTest_Previous() { //Arrange string cschoolyear = "20182019"; string expect = "20172018"; // Act var result = DateFC.YearTOGO("Pre", 10, cschoolyear); //Assert Assert.AreEqual(expect, result, $"school year Go Previous, {result}"); }
public void YearTOGOTest_Next() { //Arrange string cschoolyear = "20182019"; string expect = "20192020"; // Act var result = DateFC.YearTOGO("Next", 10, cschoolyear); //Assert Assert.AreEqual(expect, result, $"school year Go Next, {result}"); }