public void ConvertDate12HrTimeToSecondsTest()
        {
            // Arrange
            DateTime targetDateTime = DateTime.Today.AddSeconds(_refSeconds);

            // Act
            double resultSecs = _repositoryMockObject.ConvertDateTimeObjToSeconds(targetDateTime);

            // Assert
            Assert.AreEqual(_refSeconds, resultSecs);
        }
Exemple #2
0
 public double ConvertDateTimeObjToSeconds(DateTime targetDatetime12)
 {
     return(_timeConverterRepository.ConvertDateTimeObjToSeconds(targetDatetime12));
 }