runDISPEL(
"Type Location is <Integer x, y, z; String label>;\n" +
"Location loc = <label = \"here\", z = 3, y = 5, x = -2>;\n" +
"String there = loc.label;");
assertNull(mError);
Variable var = builder.getDispelExecutionState().getVariables().get("loc");
assertTrue(var.getValue() instanceof Map);
Map<String, Object> tuple = (Map<String, Object>)var.getValue();
assertEquals("here", tuple.get("label"));
assertEquals(3l, tuple.get("z"));
assertEquals(5l, tuple.get("y"));
assertEquals(-2l, tuple.get("x"));
var = builder.getDispelExecutionState().getVariables().get("there");
assertEquals("here", var.getValue());
}