static void compareType(String typeName, String expected, String input) {
Parser parser = new LexprParser(new Tokenizer(input).tokenize());
Unit unit = parser.script(null);
Assert.assertNotNull("Parser returned no output", unit);
ClassDecl clazz = unit.getType(typeName);
Assert.assertNotNull("No such type " + typeName, clazz);
String stringified = LexprParser.stringify(clazz);