192021222324252627
e.setValue("y", 5.); e.setFormula("z", "x+y+2"); e.setFormula("a", "z/2"); e.setFormula("b", "a^2"); e.setFormula("y", "13+5"); e.calculate(); assertEquals(e.get("a"), 5.); } }