public void AST_ParseClass_returnNotNull() { string[] path = { "--test", "\\tests\\test2.txt" }; Command.RunCommand(path); //act ASTNode actual = AbstractSyntaxTree.ParseMainArea(AbstractSyntaxTree.Area.CLASS); //assert Assert.NotNull(actual); }
public void AST_ParseNamespace_returnNotNull() { string[] path = { "--test", "\\tests\\test1.txt" }; Command.RunCommand(path); //act ASTNode actual = AbstractSyntaxTree.ParseMainArea(AbstractSyntaxTree.Area.NAMESPACE); //assert Assert.NotNull(actual); }