Example #1
0
 public void TestParser()
 {
     var p = new Parser.Parser();
     Assert.AreEqual(p.RemoveComments("lol;//Comment"), "lol;");
     Assert.AreEqual(p.RemoveComments("lol;//Comment\nlol;//Comment 2\nlol/*Alex Sabala*/;"), "lol;\nlol;\nlol;");
     Assert.AreEqual(p.Parse("lol;\nlol;").Count(), 4);
 }