コード例 #1
0
        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);
        }
コード例 #2
0
        public void TestPrefix()
        {
            var result = searcher.Search("ne");

            Assert.AreEqual(1, result.Count);
        }