コード例 #1
0
        public void GetCurrentOpenCloseTimesTypeTest()
        {
            //Arrange And Act
            OpenTimeHandler openTimeHandler = new OpenTimeHandler();
            var             r = openTimeHandler.GetCurrentOpenCloseTimes();

            //Assert
            Assert.AreEqual(typeof(List <DateTime>), r.GetType());
        }
コード例 #2
0
        public void GetCurrentOpenCloseTimesTest()
        {
            //Arrange And Act
            OpenTimeHandler openTimeHandler = new OpenTimeHandler();
            var             r = openTimeHandler.GetCurrentOpenCloseTimes();

            //Assert
            Assert.AreEqual(4, r.Count);
        }