コード例 #1
0
        public void Must_Return_The_Proper_Value_When_Time_Is_22_38_00()
        {
            TimeConverter timeComverter = new TimeConverter(new TimeMapper(), new TimeSplitter());

            var stringCode = timeComverter.ConvertTime("22:37:00");

            Assert.AreEqual(Time223700, stringCode, "Time was not conveted properly");
        }
コード例 #2
0
        public void Must_Return_The_Proper_Value_When_Time_Is_03_08_01()
        {
            TimeConverter timeComverter = new TimeConverter(new TimeMapper(), new TimeSplitter());

            var stringCode = timeComverter.ConvertTime("03:08:01");

            Assert.AreEqual(Time030801, stringCode, "Time was not conveted properly");
        }