Esempio n. 1
0
        public void TestSax2()
        {
            List <string> list = new List <string> {
                null, "asdava", "sdasd", "sad", "dasa"
            };
            string pattern = "sad";

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

            Assert.AreEqual(false, SAX.Contains(list, pattern));
        }