public void EmptyCase() { var selector = new SelectorByCountryAndAge(); var source = GenerateStorage; var result = selector.Get(source, "JPN", 20); Assert.Empty(result); }
public void CommonCase() { var selector = new SelectorByCountryAndAge(); var source = GenerateStorage; var result = selector.Get(source, "USA", 20); Assert.True(result.SequenceEqual(source.Where(e => e.Country == "USA" && e.Age == 20))); }