Example #1
0
        public void Inverted_ReturnsContents(string input, string expectedContents)
        {
            var result = ParseCharSet.ParseOrThrow(input);

            Assert.That(result.InputDoInvert.Checked, Is.True);
            Assert.AreEqual(expectedContents, result.InputCharacters.Value);
        }
Example #2
0
        public void CharSetNode_EscapedBracket_ReturnsContents(string input, string expectedContents)
        {
            var result = ParseCharSet.ParseOrThrow(input);

            Assert.AreEqual(expectedContents, result.InputCharacters.Value);
        }
Example #3
0
        public void CharSetNode_NoSpecials_ReturnsContents(string input, string expectedContents)
        {
            CharSetNode result = ParseCharSet.ParseOrThrow(input);

            Assert.AreEqual(expectedContents, result.InputCharacters.Value);
        }