static void Main(string[] args) { Parser parser = new Parser("Sample1.taf"); var nodes = parser.Parse(); Engine engine = new Engine(nodes); engine.Play(); Console.WriteLine("Done! ENTER to exit."); Console.ReadLine(); }
public void ConstructorFileNotExistException() { try { Parser parser = new Parser("THIS IS NOT A FILE"); Assert.Fail(); } catch(ArgumentException) { Assert.IsTrue(true); } }
public void ConstructorFileExists() { Parser parser = new Parser("Sample1.taf"); }