@Test
public void makeVarTest() {

	Var v = Converters.makeVar(null);
	assertEquals(Var.ANON, v);
	v = Converters.makeVar("a");
	assertEquals(Var.alloc("a"), v);
	v = Converters.makeVar("?a");
	assertEquals(Var.alloc("a"), v);
	Node n = NodeFactory.createVariable("foo");
	v = Converters.makeVar(n);
	assertEquals(Var.alloc("foo"), v);
	NodeFront nf = new NodeFront(n);
	v = Converters.makeVar(nf);
	assertEquals(Var.alloc("foo"), v);
	v = Converters.makeVar(Node_RuleVariable.WILD);
	assertNull(v);
	ExprVar ev = new ExprVar("bar");
	v = Converters.makeVar(ev);
	assertEquals(Var.alloc("bar"), v);
	ev = new ExprVar(n);
	v = Converters.makeVar(ev);
	assertEquals(Var.alloc("foo"), v);
	ev = new ExprVar(Var.ANON);
	v = Converters.makeVar(ev);
	assertEquals(Var.ANON, v);
}