예제 #1
0
        public void testOnlyContains()
        {
            clsCustomer aCustomer = new clsCustomer();

            Assert.AreEqual(aCustomer.onlyContains("abacadaba", "abcd"), true);
            Assert.AreEqual(aCustomer.onlyContains(";DROP *;execute;", "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"), false);
        }