Пример #1
0
        public void AvgMtrPerSecond_ShouldCalculate(double distance, DateTime startTime, DateTime endTime, double expected)
        {
            //Act
            Speed  speed  = new Speed(distance, startTime, endTime);
            double actual = speed.AvgMtrPerSecond();

            //Assert
            Assert.Equal(expected, actual);
        }