Commit 8923370e authored by yanzg's avatar yanzg

修复实体关系

parent b7c81961
......@@ -26,9 +26,20 @@ public class TestFormulaHelper {
@Test
public void testMul() {
// System.out.println(FormulaHelper.calc("(100-0)-2"));
System.out.println(FormulaHelper.calc("(100-0)-2"));
System.out.println(FormulaHelper.calc("100-0-2"));
System.out.println(FormulaHelper.calc("100*2/3+2*5"));
System.out.println(FormulaHelper.calc("8+3*4"));
System.out.println(FormulaHelper.calc("(8+4)*3"));
System.out.println(FormulaHelper.calc(" 8-6/3"));
System.out.println(FormulaHelper.calc("(8-5)/3"));
System.out.println(FormulaHelper.calc("(1-2)*(3-4)"));
System.out.println(FormulaHelper.calc("1+(2+3)/(1+4)"));
System.out.println(FormulaHelper.calc("1+(2-5)/(2+4)"));
// System.out.println(FormulaHelper.calc(""));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment