Esempio n. 1
0
        public string SchoolYearNextTest(string strType, string cSchoolYear)
        {
            string result = DateFC.SchoolYearNext(strType, cSchoolYear);

            return(result);
            // TODO: add assertions to method DateFCTest.SchoolYearNextTest(String, String)
        }
Esempio n. 2
0
        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}");
        }