public void SpeedCalculator_AddsSpeedInList() { Driver driver = new F1("cobaille", "Muscle Car", 20); Segment segment = new Segment("straight line", GroundType.asphalt); Weather weather = Weather.Sun; driver.SpeedCalculator(driver, segment, weather); Assert.AreEqual(1, driver.TimeSpentOnSegment.Count); }