()
| 135 | } |
| 136 | |
| 137 | @Test |
| 138 | public void testIf3() |
| 139 | { |
| 140 | final PJEP jep = new PJEP(); |
| 141 | |
| 142 | jep.parseExpression("if (5>8, min(5,8,1), max(17,18,29) )"); |
| 143 | final double value = jep.getValue(); |
| 144 | |
| 145 | assertEquals(29.0, value, 0.001, "if"); |
| 146 | } |
| 147 | |
| 148 | @Test |
| 149 | public void testIf4() |
nothing calls this directly
no test coverage detected