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

Method testIf2

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

Source from the content-addressed store, hash-verified

124 }
125
126 @Test
127 public void testIf2()
128 {
129 final PJEP jep = new PJEP();
130
131 jep.parseExpression("if (5<8, 7, 9)");
132 final double value = jep.getValue();
133
134 assertEquals(7.0, value, 0.001, "if");
135 }
136
137 @Test
138 public void testIf3()

Callers

nothing calls this directly

Calls 2

parseExpressionMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected