public void Should_search_within_radius() { var lisle = _zipCodeRepo.Search(x => x.PlaceName.Contains("Lisle")); var zipCode = _zipCodeRepo.Get("60606"); var results = _zipCodeRepo.RadiusSearch(zipCode, 1).ToList(); results.Count.ShouldEqual(9); }
public void Should_search_within_radius() { var lisle = _zipCodeRepo.Search(x => x.PlaceName.Contains("Lisle")); var zipCode = _zipCodeRepo.Get("60606"); var results = _zipCodeRepo.RadiusSearch(zipCode, 1).ToList(); results.Count.ShouldEqual(9); }