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.Exceptionpublic void exprEquals(java.lang.String expr,
java.lang.Object expected)
throws JepException
JepExceptionpublic void evalExceptionTest(java.lang.String expr)
throws JepException
JepExceptionpublic void testSetAllowStrings()
throws java.lang.Exception
java.lang.Exceptionpublic void testBoolean()
throws java.lang.Exception
java.lang.Exceptionpublic void testBDString()
throws java.lang.Exception
java.lang.Exceptionpublic void Abs()
throws java.lang.Exception
java.lang.Exceptionpublic void Round()
throws java.lang.Exception
java.lang.Exceptionpublic void Signum()
throws java.lang.Exception
java.lang.Exceptionpublic void MinMax()
throws java.lang.Exception
java.lang.Exceptionpublic void Avg()
throws java.lang.Exception
java.lang.Exceptionpublic void testIf()
throws java.lang.Exception
java.lang.Exceptionpublic void testCoerce()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep