assertEquals(expected, actual);
}
/** Test a complete template, using all features */
public void testNumericExpressionOutput() throws ScriptException {
ScriptEngineHelper script = new ScriptEngineHelper();
String input = "out.write( 1 );";
String actual = script.evalToString(input);
String expected = "1";
assertEquals(expected, actual);
input = "out.write( \"1\" );";
actual = script.evalToString(input);
expected = "1";
assertEquals(expected, actual);
input = "out.write( '1' );";
actual = script.evalToString(input);
expected = "1";
assertEquals(expected, actual);
}