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

Method testMin

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

Source from the content-addressed store, hash-verified

36public class PJepTest extends AbstractCharacterTestCase
37{
38 @Test
39 public void testMin()
40 {
41 final PJEP jep = new PJEP();
42
43 jep.parseExpression("min(5,8,1)");
44 final double value = jep.getValue();
45
46 assertEquals(1.0, value, 0.001, "min");
47 }
48
49 @Test
50 public void testMax1()

Callers

nothing calls this directly

Calls 2

parseExpressionMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected