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); }
public void CharSetNode_EscapedBracket_ReturnsContents(string input, string expectedContents) { var result = ParseCharSet.ParseOrThrow(input); Assert.AreEqual(expectedContents, result.InputCharacters.Value); }
public void CharSetNode_NoSpecials_ReturnsContents(string input, string expectedContents) { CharSetNode result = ParseCharSet.ParseOrThrow(input); Assert.AreEqual(expectedContents, result.InputCharacters.Value); }