public void TestNullFlights() { filter = new FlightFilter(5); if (filter.FFiltreOut(null) == null) { Assert.Pass(); } else { Assert.Fail(); } }
public void TestNotAllowedFilterType() { filter = new FlightFilter(5); if (filter.FFiltreOut(flights) == null) { Assert.Pass(); } else { Assert.Fail(); } }
public void TestEmptyFlights() { filter = new FlightFilter(5); if (filter.FFiltreOut(new List <Flight>()) == null) { Assert.Pass(); } else { Assert.Fail(); } }
public void Test3Quest() { filter = new FlightFilter(2); if (filter.FFiltreOut(flights).Count != 0) { Assert.Pass(); } else { Assert.Fail(); } }