import java.io.*;
import java.util.Vector;

class Test1 {
    public static void main(String args[]) {
	StatementTree test0 = new AssignNode("x", new ExpressionTree(50));
	Vector body = new Vector();
	body.add(test0);
	StatementTree test1
	    = new IfThenNode (new ExpressionTree(100),
		new CompoundNode(body));

	System.out.println("Test 0");
	System.out.println("------");
	System.out.println();

	test0.Accept(new TranslateVisitor());

	System.out.println();

	System.out.println("Test 1");
	System.out.println("------");
	System.out.println();

	test1.Accept(new TranslateVisitor());

	System.out.println();
    }
}
