Skip to content

Passed

org.appng.el.ExpressionEvaluatorTest.testInteger

Took 4 ms.

Standard Output

2023-08-25 16:41:58,477 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'a' of type 'java.lang.Integer' to value '5'
2023-08-25 16:41:58,478 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'b' of type 'java.lang.Integer' to value '6'
2023-08-25 16:41:58,478 DEBUG [main] org.appng.el.ExpressionEvaluator: registered function ':max' with method 'public static int java.lang.Math.max(int,int)'.
2023-08-25 16:41:58,478 DEBUG [main] org.appng.el.ExpressionEvaluator: regi
...[truncated 1019 chars]...
aluator: ${a*b} = 30 [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]
2023-08-25 16:41:58,480 DEBUG [main] org.appng.el.ExpressionEvaluator: ${(a*a) - (b/b)} = 24 [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]
2023-08-25 16:41:58,481 DEBUG [main] org.appng.el.ExpressionEvaluator: ${sqrt(25)} = 5.0 [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]
2023-08-25 16:41:58,481 DEBUG [main] org.appng.el.ExpressionEvaluator: ${ait:sqrt(36)} = 6.0 [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]