public void MaximumSpeed() { var maximumSpeedAnalizer = new ExtremumSpeedAnalizer(_timeLocationsAnalizer, _distanceLocationsAnalizer, _speedCalculator, _maximumSpeedAnalizer); double result = maximumSpeedAnalizer.AnalizeSpeedInKilometerPerHour(_wayPoints); Assert.True(result > 0); _testOutputHelper.WriteLine(result.ToString(CultureInfo.InvariantCulture)); }
public void MinimumSpeed() { var mininumSpeedAnalizer = new ExtremumSpeedAnalizer(_timeLocationsAnalizer, _distanceLocationsAnalizer, _speedCalculator, _minimumSpeedAnalizer); double result = mininumSpeedAnalizer.AnalizeSpeedInKilometerPerHour(_wayPoints); Assert.True(result > 0);//only when i don't tolerance stopped positions _testOutputHelper.WriteLine(result.ToString(CultureInfo.InvariantCulture)); }