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

Method testIf3

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

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 2

parseExpressionMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected