public void EmptyExcludeTest() { IFilter filter = new DepartBeforeArriveFilter(); var test = ArriveBefore(); var result = filter.Exclude(test); Assert.Empty(result); }
public void ExcludeValidTest() { IFilter filter = new DepartBeforeArriveFilter(); var depart = DepartBefore(); var arrive = ArriveBefore(); var test = new List <Flight>(depart); test.AddRange(arrive); var result = filter.Exclude(test); Assert.Equal(depart, result); }