public void ShouldGetCitiesStartsWithSpecifiedLetter() { CityListManager listManager = new CityListManager(); string path = @"..//..//adhed//CityTrainingTwo//Files//cities.txt"; listManager.LoadElements(path); List<City> listWithZ = listManager.GetCitiesStartsWithLetter("Z"); Assert.AreEqual(listWithZ.Count, 2); }
public void ShouldGetCitiesStartsWithSpecifiedLetter() { CityListManager listManager = new CityListManager(); string path = @"..//..//adhed//CityTrainingTwo//Files//cities.txt"; listManager.LoadElements(path); List <City> listWithZ = listManager.GetCitiesStartsWithLetter("Z"); Assert.AreEqual(listWithZ.Count, 2); }