Example #1
0
        public void IsInSeasonTest()
        {
            //arrange
            ReservationSqlDAO dao = new ReservationSqlDAO(connectionString);
            //act
            DateTime startDate  = new DateTime(2019, 10, 19);
            DateTime endDate    = new DateTime(2019, 10, 21);
            bool     isInSeason = dao.IsInSeason(1, startDate, endDate);

            //assert
            Assert.IsTrue(isInSeason);
        }