MCPcopy Create free account
hub / github.com/PCGen/pcgen / testIf4

Method testIf4

code/src/test/pcgen/util/PJepTest.java:148–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 }
147
148 @Test
149 public void testIf4()
150 {
151 final PJEP jep = new PJEP();
152
153 jep.parseExpression("if (2 && 2, min(5,8,1), max(17,18,29) )");
154 final double value = jep.getValue();
155
156 assertEquals(1.0, value, 0.001, "if");
157 }
158
159 @Test
160 public void testIf5()

Callers

nothing calls this directly

Calls 2

parseExpressionMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected