public void TestPrefixMultiple() { var data = new List <string> { "ne 85th st", "124th ave ne", "ne 8th st" }; searcher = new CameraSearcher(data); var result = searcher.Search("ne"); Assert.AreEqual(2, result.Count); }
public void TestPrefix() { var result = searcher.Search("ne"); Assert.AreEqual(1, result.Count); }