Ejemplo n.º 1
0
        public string SchoolYearPreviousTest(string strType, string cSchoolYear)
        {
            string result = DateFC.SchoolYearPrevious(strType, cSchoolYear);

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