}
@Test
public void testLitNumericLiteral(){
compareWithJavaSource("literal/NumericLiteral");
assertErrors("literal/NumericLiteralErrors",
new CompilerError(24, "literal outside representable range: 9223372036854775808 is too large to be represented as an Integer"),
new CompilerError(25, "literal outside representable range: -9223372036854775809 is too large to be represented as an Integer"),
new CompilerError(27, "literal so large it is indistinguishable from infinity: 1.7976931348623159E308 (use infinity)"),
new CompilerError(28, "literal so large it is indistinguishable from infinity: 1.7976931348623159E308 (use infinity)"),
new CompilerError(29, "literal so small it is indistinguishable from zero: 2.0E-324 (use 0.0)"),
new CompilerError(30, "literal so small it is indistinguishable from zero: 2.0E-324 (use 0.0)"),
new CompilerError(34, "invalid hexadecimal literal: #CAFEBABECAFEBABE1 has more than 64 bits"),
new CompilerError(36, "invalid binary literal: $11011101110111011101110111011101110111011101110111011101110111011 has more than 64 bits")
);
assertErrors("literal/NumericLiteralParserErrors",
new CompilerError(23, "incorrect syntax: no viable alternative at character '-'"),
new CompilerError(24, "incorrect syntax: no viable alternative at character '+'"),
new CompilerError(25, "incorrect syntax: no viable alternative at character '-'"),
new CompilerError(26, "incorrect syntax: no viable alternative at character 's'"),
new CompilerError(28, "incorrect syntax: mismatched character '-' expecting set null"),
new CompilerError(29, "incorrect syntax: mismatched character '+' expecting set null"),
new CompilerError(30, "incorrect syntax: no viable alternative at token '23'"),
new CompilerError(31, "incorrect syntax: mismatched character 's' expecting set null")
);
}