public void TestSax2() { List <string> list = new List <string> { null, "asdava", "sdasd", "sad", "dasa" }; string pattern = "sad"; Assert.AreEqual(true, SAX.Contains(list, pattern)); }
public void TestSax1() { List <string> list = new List <string> { "asda", "asdava", "sdasd", "sad", "dasa" }; string pattern = null; Assert.AreEqual(false, SAX.Contains(list, pattern)); }