public void parseSimpleType() throws IOException, CopperParserException {
String input =
"type T\n" +
" def bar():Int\n" +
"5";
TypedAST res = (TypedAST)new Wyvern().parse(new StringReader(input), "test input");
Assert.assertEquals(res.typecheck(Globals.getStandardEnv(), Optional.empty()), Int.getInstance());
Assert.assertEquals(res.evaluate(Globals.getStandardEnv()).toString(), "IntegerConstant(5)");
}