UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Model m = new Model("test", 2, 4);
m.createFunctionDefinition("f");
m.createRateRule();
FormulaParser parser;
for (int i = 0; i < testCases.length; i++) {
System.out.printf("%d.\treading:\t%s\n", i, testCases[i]);
parser = new FormulaParser(new StringReader(testCases[i]));
ASTNode node;
try {
node = parser.parse();
System.out.printf("%d.\tLaTeX:\t%s\n", i, node.toLaTeX());
JDialog d = new JDialog();
d.setTitle("Node output");
d.setModal(true);