public void EmptyIncludeTest() { PastDepartFilter filter = new PastDepartFilter(); var test = FutureDepartList(); var result = filter.Include(new HashSet <Flight>(), test); Assert.Empty(result); }
public void IncludeValidTest() { PastDepartFilter filter = new PastDepartFilter(); var past = PastDepartList(); var future = FutureDepartList(); var test = new List <Flight>(past); test.AddRange(future); var result = filter.Include(new HashSet <Flight>(), test); Assert.Equal(result, past); }