public void EmptyIncludeTest() { IFilter filter = new LongGroundTimeFilter(); var test = ShortTimeList(); var result = filter.Include(new HashSet <Flight>(), test); Assert.Empty(result); }
public void IncludeValidTest() { IFilter filter = new LongGroundTimeFilter(); var longTime = LongTimeList(); var shortTime = ShortTimeList(); var test = new List <Flight>(longTime); test.AddRange(shortTime); var result = filter.Include(new HashSet <Flight>(), test); Assert.Equal(result, longTime); }