doTest(example, rule + "100, 10\n");
}
private void doTest(String example, String expected) throws RecognitionException {
Model m = parse(example).model();
AddRatesFromShapesTransformer t = new AddRatesFromShapesTransformer();
m = t.transform(m);
assertEquals(expected, removeComments(m.toString()));
}