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

Method testFloor2

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

Source from the content-addressed store, hash-verified

80 }
81
82 @Test
83 public void testFloor2()
84 {
85 final PJEP jep = new PJEP();
86
87 jep.parseExpression("floor(-5.7)");
88 final double value = jep.getValue();
89
90 assertEquals(-6.0, value, 0.001, "floor");
91 }
92
93 @Test
94 public void testCeil1()

Callers

nothing calls this directly

Calls 2

parseExpressionMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected