assertEquals(stringsExpected, stringsResult);
}
@Test public void testList() throws Exception {
String template = "<[a,b]>";
CompiledST code = new Compiler().compile(template);
String asmExpected = "list, load_attr 0, add, load_attr 1, add, write";
String asmResult = code.instrs();
assertEquals(asmExpected, asmResult);
String stringsExpected = "[a, b]";
String stringsResult = Arrays.toString(code.strings);