public void SearchAll_IncorrectSearch_2Term_Test() { string[] searchTerms = { "bar", "baz" }; DynamicPerson p = Common.CreateDynamicPerson("1", "carl", "marks"); Assert.IsFalse(p.SearchAll(searchTerms)); }
public void SearchAll_CorrectSearch_3Term_Test() { string[] searchTerms = { "car", "ca", "ma" }; DynamicPerson p = Common.CreateDynamicPerson("1", "carl", "marks"); Assert.IsTrue(p.SearchAll(searchTerms)); }