Example #1
0
        public void SetTerminalShouldRecognizeCharacterInSet()
        {
            var setTerminal = new SetTerminal('a', 'z');

            Assert.IsTrue(setTerminal.IsMatch('a'));
        }
Example #2
0
        public void SetTerminalShouldNotRecognizeCharacterOutOfSet()
        {
            var setTerminal = new SetTerminal('a', 'z');

            Assert.IsFalse(setTerminal.IsMatch('b'));
        }