示例#1
0
        public void SearchAll_IncorrectSearch_2Term_Test()
        {
            string[]      searchTerms = { "bar", "baz" };
            DynamicPerson p           = Common.CreateDynamicPerson("1", "carl", "marks");

            Assert.IsFalse(p.SearchAll(searchTerms));
        }
示例#2
0
        public void SearchAll_CorrectSearch_3Term_Test()
        {
            string[]      searchTerms = { "car", "ca", "ma" };
            DynamicPerson p           = Common.CreateDynamicPerson("1", "carl", "marks");

            Assert.IsTrue(p.SearchAll(searchTerms));
        }