Esempio n. 1
0
        public void Ex41_TestNegative2()
        {
            bool found = Ex41.InString("The bras basah complex", "bRO");

            Debug.WriteLine("The bras basah complex, bRO");
            Assert.IsFalse(found);
        }
Esempio n. 2
0
        public void Ex41_TestPositive2()
        {
            bool found = Ex41.InString("The brown fox", "bRO");

            Debug.WriteLine("The brown fox, bRO");
            Assert.IsTrue(found);
        }
Esempio n. 3
0
        public void Ex41_TestNegative1()
        {
            bool found = Ex41.InString("T", "bRO");

            Debug.WriteLine("T, FOX");
            Assert.IsFalse(found);
        }
Esempio n. 4
0
        public void Ex41_TestOneChar()
        {
            bool found = Ex41.InString("The brown fox", "o");

            Debug.WriteLine("The brown fox, o");
            Assert.IsTrue(found);
        }