public void TestTokenizerWithSingleQuotes() { var root = OutputParser.Tokenize("a=b f='a a' c=d"); Assert.AreEqual("b", root["a"]); Assert.AreEqual("d", root["c"]); Assert.AreEqual("a a", root["f"]); }
public void TestTokenizerWithQuotes() { var root = OutputParser.Tokenize("a=b c=d f=\"a a\""); Assert.AreEqual("b", root["a"]); Assert.AreEqual("d", root["c"]); Assert.AreEqual("a a", root["f"]); }
public void TestTokenizerTwoKeys() { var root = OutputParser.Tokenize(@"a=b c=d"); Assert.AreEqual("b", root["a"]); }
public void TestTokenizerSimple() { var root = OutputParser.Tokenize(@"a=b"); Assert.AreEqual("b", root["a"]); }