public void printedEquals(ATObject input, String expected) { try { assertEquals(expected, input.meta_print().javaValue); } catch (InterpreterException e) { fail(e.getMessage()); } }
public void evalAndCompareTo(String input, String output) { try { ATObject result = evalAndReturn(input); if (result != null) { assertEquals(output, result.meta_print().javaValue); } } catch (InterpreterException e) { fail(e.getMessage()); } }