Esempio n. 1
0
        public void FlightNormal_ArrivalBeforeDepartureValidator_ReturnsFalse()
        {
            ArrivalBeforeDepartureValidator validator = new ArrivalBeforeDepartureValidator();

            bool result = validator.Discard(TestFlights.normal);

            Assert.IsFalse(result);
        }
Esempio n. 2
0
        public void FlightArrivalBeforeDeparture_ArrivalBeforeDepartureValidator_ReturnsTrue()
        {
            // Arrival before departure

            ArrivalBeforeDepartureValidator validator = new ArrivalBeforeDepartureValidator();

            bool result = validator.Discard(TestFlights.arrivalBeforeDeparture);

            Assert.IsTrue(result);
        }