示例#1
0
        public string YearTOGOTest(string strType, string cSchoolYear)
        {
            string result = DateFC.YearTOGO(strType, cSchoolYear);

            return(result);
            // TODO: add assertions to method DateFCTest.YearTOGOTest(String, String)
        }
示例#2
0
        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}");
        }
示例#3
0
        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}");
        }