public void CaseSensitiveCharacterClassRangeCharactersFromEscapedCharactersMatchesItsRange()
        {
            const string min = @"\\";
            const string max = @"\^";

            var sut = new CharacterClassRange(min, max, false);

            Assert.That(sut.Min, Is.EqualTo(min));
            Assert.That(sut.Max, Is.EqualTo(max));
            Assert.That(sut.Matches('\\'), Is.True);
            Assert.That(sut.Matches('^'), Is.True);
            Assert.That(sut.Matches(']'), Is.True);
            Assert.That(sut.Matches('@'), Is.False);
            Assert.That(sut.Matches('a'), Is.False);
        }
        public void CaseSensitiveCharacterClassRangeCharactersFromSimpleCharactersMatchesItsRange()
        {
            const string min = "a";
            const string max = "z";

            var sut = new CharacterClassRange(min, max, false);

            Assert.That(sut.Min, Is.EqualTo(min));
            Assert.That(sut.Max, Is.EqualTo(max));
            Assert.That(sut.Matches('a'), Is.True);
            Assert.That(sut.Matches('z'), Is.True);
            Assert.That(sut.Matches('e'), Is.True);
            Assert.That(sut.Matches('A'), Is.False);
            Assert.That(sut.Matches('Z'), Is.False);
            Assert.That(sut.Matches('E'), Is.False);
            Assert.That(sut.Matches('$'), Is.False);
        }