()
| 113 | } |
| 114 | |
| 115 | @Test |
| 116 | public void testIf() |
| 117 | { |
| 118 | final PJEP jep = new PJEP(); |
| 119 | |
| 120 | jep.parseExpression("if (5>8, 7, 9)"); |
| 121 | final double value = jep.getValue(); |
| 122 | |
| 123 | assertEquals(9.0, value, 0.001, "if"); |
| 124 | } |
| 125 | |
| 126 | @Test |
| 127 | public void testIf2() |
nothing calls this directly
no test coverage detected