public void ConvertString24HrTimeToSeconds()
        {
            // Arrange
            string target24Time = "12:23:34.235";

            // Act
            double resultSecs = _repositoryMockObject.ConvertString24HrTimeToSeconds(target24Time);

            // Assert
            Assert.AreEqual(_refSeconds, resultSecs);
        }
예제 #2
0
 public double ConvertString24HrTimeToSeconds(string targetTime24)
 {
     return(_timeConverterRepository.ConvertString24HrTimeToSeconds(targetTime24));
 }