提交 0e937a7f 编写于 作者: Y yumin.pym

format test code

上级 7ff527b8
......@@ -38,11 +38,11 @@ public class DynamicFieldTest {
@Test
public void testLoadFromFile() throws Exception {
ExpressRunner runner = new ExpressRunner(true, true);
runner.loadExpress("TestFunctionParameterType");
runner.loadExpress("testFunctionParameterType");
DefaultContext<String, Object> context = new DefaultContext<>();
context.put("auctionUtil", new BeanExample());
context.put("log", log);
Object r = runner.executeByExpressName("TestFunctionParameterType", context, null, false, false, null);
Object r = runner.executeByExpressName("testFunctionParameterType", context, null, false, false, null);
System.out.println(r);
System.out.println(context);
}
......
System.out.println(0.05+0.01);
System.out.println(1.0-0.42);
System.out.println(4.015*100);
System.out.println(123.3/100);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册