public void AnyCharTest() { CharParser test = Prims.AnyChar; Assert.IsTrue(test.Accepts('a')); }
public static void Test(CharParser test, Char success, Char failed) { Assert.IsTrue(test.Accepts(success)); Assert.IsFalse(test.Accepts(failed)); }