MCPcopy Create free account
hub / github.com/apache/tomcat / testMod03

Method testMod03

test/org/apache/el/lang/TestELArithmetic.java:97–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 @Test
98 public void testMod03() {
99 ELProcessor processor = new ELProcessor();
100 // Large so BigInteger rather than Long is used internally
101 BigInteger result = processor.eval("1 % -9999999999999999999");
102 Assert.assertEquals(BigInteger.valueOf(1), result);
103 }
104
105 @Test
106 public void testUnaryMinus01() {

Callers

nothing calls this directly

Calls 2

evalMethod · 0.95
valueOfMethod · 0.45

Tested by

no test coverage detected