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

Method testIf5

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

Source from the content-addressed store, hash-verified

157 }
158
159 @Test
160 public void testIf5()
161 {
162 final PJEP jep = new PJEP();
163
164 jep.parseExpression("if (1, 5, -5)");
165 final double value = jep.getValue();
166
167 assertEquals(5, value, 0.001, "if");
168 }
169
170 @Test
171 public void testIf6()

Callers

nothing calls this directly

Calls 2

parseExpressionMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected