public class BigDecimalTest
extends java.lang.Object
Constructor and Description |
---|
BigDecimalTest() |
Modifier and Type | Method and Description |
---|---|
void |
Abs() |
void |
Avg() |
void |
cmpBug()
Check for problems where MinMax used comparision which worked by
first coverting to doubles.
|
java.lang.Object |
eval(java.lang.String str) |
void |
evalExceptionTest(java.lang.String expr) |
void |
exprEquals(java.lang.String expr,
java.lang.Object expected) |
void |
limitedPrecisionTest() |
void |
MinMax() |
void |
Round() |
void |
Signum() |
void |
test(java.lang.String str,
boolean value)
Test expression against boolean
|
void |
test(java.lang.String str,
java.lang.String value) |
void |
testBDString()
Tests inter-operability of big decimals and strings.
|
void |
testBoolean() |
void |
testCoerce() |
void |
testCP() |
void |
testIf() |
void |
testSetAllowStrings() |
void |
unlimitedPrecisionTest() |
public void unlimitedPrecisionTest()
public void cmpBug()
public void limitedPrecisionTest()
public void test(java.lang.String str, boolean value)
str
- value
- public void test(java.lang.String str, java.lang.String value)
public java.lang.Object eval(java.lang.String str)
public void testCP() throws java.lang.Exception
java.lang.Exception
public void exprEquals(java.lang.String expr, java.lang.Object expected) throws JepException
JepException
public void evalExceptionTest(java.lang.String expr) throws JepException
JepException
public void testSetAllowStrings() throws java.lang.Exception
java.lang.Exception
public void testBoolean() throws java.lang.Exception
java.lang.Exception
public void testBDString() throws java.lang.Exception
java.lang.Exception
public void Abs() throws java.lang.Exception
java.lang.Exception
public void Round() throws java.lang.Exception
java.lang.Exception
public void Signum() throws java.lang.Exception
java.lang.Exception
public void MinMax() throws java.lang.Exception
java.lang.Exception
public void Avg() throws java.lang.Exception
java.lang.Exception
public void testIf() throws java.lang.Exception
java.lang.Exception
public void testCoerce() throws java.lang.Exception
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep