示例#1
0
        public void IsOneOf()
        {
            var sut = new RegexFunctions();

            sut.IsOneOf("ABC", "ABC|DEF|GHI").Should().BeTrue();
        }
示例#2
0
        public void IsOneOf()
        {
            var sut = new RegexFunctions();

            Assert.That(sut.IsOneOf("ABC", "ABC|DEF|GHI"));
        }
示例#3
0
        public void IsNotOneOf()
        {
            var sut = new RegexFunctions();

            sut.IsOneOf("OPQ", "ABC|DEF|GHI").Should().BeFalse();
        }
示例#4
0
        public void IsNotOneOf()
        {
            var sut = new RegexFunctions();

            Assert.That(sut.IsOneOf("OPQ", "ABC|DEF|GHI"), Is.False);
        }