public void IsContainTest2() { string expected = @"789"; string actual = "foo123bar"; Assert.IsFalse(TextPattern.IsContains(expected, actual)); }
public void IsContainTest4() { string expected = @"regexp:\d+"; string actual = "foobar"; Assert.IsFalse(TextPattern.IsContains(expected, actual)); }
public void IsContainTest1() { string expected = @"123"; string actual = "foo123bar"; Assert.IsTrue(TextPattern.IsContains(expected, actual)); }