public void AddTripUpdatesIfSpeedIsValid()
        {
            DriverInfo driverInfo = new DriverInfo();

            string[] input = new string[] { "Trip", "Dan", "07:15", "07:45", "17.3" };

            driverInfo.AddTrip(input);

            Assert.AreEqual(17.3, driverInfo.MilesTraveled);
            Assert.AreEqual(0.5, driverInfo.HoursTraveled);
        }
        public void AddTripDoesNotUpdateIfSpeedGreaterThanOneHundred()
        {
            DriverInfo driverInfo = new DriverInfo();

            string[] input = new string[] { "Trip", "Dan", "07:15", "07:45", "200" };

            driverInfo.AddTrip(input);

            Assert.AreEqual(0, driverInfo.MilesTraveled);
            Assert.AreEqual(0, driverInfo.HoursTraveled);
        }