| |
|
| org.apache.harmony.tests.java.math.BigDecimalConstructorsTest
BigDecimalConstructorsTest | public class BigDecimalConstructorsTest extends TestCase (Code) | | Class: java.math.BigDecimal
Methods: constructors and fields
|
testConstrBI | public void testConstrBI()(Code) | | new BigDecimal(BigInteger value)
|
testConstrBIScale | public void testConstrBIScale()(Code) | | new BigDecimal(BigInteger value, int scale)
|
testConstrBigIntegerMathContext | public void testConstrBigIntegerMathContext()(Code) | | new BigDecimal(BigInteger value, MathContext)
|
testConstrBigIntegerScaleMathContext | public void testConstrBigIntegerScaleMathContext()(Code) | | new BigDecimal(BigInteger value, int scale, MathContext)
|
testConstrChar | public void testConstrChar()(Code) | | new BigDecimal(char[] value);
|
testConstrCharIntInt | public void testConstrCharIntInt()(Code) | | new BigDecimal(char[] value, int offset, int len);
|
testConstrCharIntIntMathContext | public void testConstrCharIntIntMathContext()(Code) | | new BigDecimal(char[] value, int offset, int len, MathContext mc);
|
testConstrCharIntIntMathContextException1 | public void testConstrCharIntIntMathContextException1()(Code) | | new BigDecimal(char[] value, int offset, int len, MathContext mc);
|
testConstrCharIntIntMathContextException2 | public void testConstrCharIntIntMathContextException2()(Code) | | new BigDecimal(char[] value, int offset, int len, MathContext mc);
|
testConstrCharMathContext | public void testConstrCharMathContext()(Code) | | new BigDecimal(char[] value, MathContext mc);
|
testConstrDouble | public void testConstrDouble()(Code) | | new BigDecimal(double value)
|
testConstrDouble01 | public void testConstrDouble01()(Code) | | new BigDecimal(0.1)
|
testConstrDouble02 | public void testConstrDouble02()(Code) | | new BigDecimal(0.555)
|
testConstrDoubleDenormalized | public void testConstrDoubleDenormalized()(Code) | | new BigDecimal(double value) when value is denormalized
|
testConstrDoubleMathContext | public void testConstrDoubleMathContext()(Code) | | new BigDecimal(double, MathContext)
|
testConstrDoubleMinus01 | public void testConstrDoubleMinus01()(Code) | | new BigDecimal(-0.1)
|
testConstrDoubleNaN | public void testConstrDoubleNaN()(Code) | | new BigDecimal(double value) when value is NaN
|
testConstrDoubleNegInfinity | public void testConstrDoubleNegInfinity()(Code) | | new BigDecimal(double value) when value is positive infinity
|
testConstrDoublePosInfinity | public void testConstrDoublePosInfinity()(Code) | | new BigDecimal(double value) when value is positive infinity
|
testConstrInt | public void testConstrInt()(Code) | | new BigDecimal(int value)
|
testConstrIntMathContext | public void testConstrIntMathContext()(Code) | | new BigDecimal(int, MathContext)
|
testConstrLong | public void testConstrLong()(Code) | | new BigDecimal(long value)
|
testConstrLongMathContext | public void testConstrLongMathContext()(Code) | | new BigDecimal(long, MathContext)
|
testConstrStringException | public void testConstrStringException()(Code) | | new BigDecimal(String value)
when value is not a valid representation of BigDecimal.
|
testConstrStringExceptionEmptyExponent1 | public void testConstrStringExceptionEmptyExponent1()(Code) | | new BigDecimal(String value) when exponent is empty.
|
testConstrStringExceptionEmptyExponent2 | public void testConstrStringExceptionEmptyExponent2()(Code) | | new BigDecimal(String value) when exponent is empty.
|
testConstrStringExceptionExponentGreaterIntegerMax | public void testConstrStringExceptionExponentGreaterIntegerMax()(Code) | | new BigDecimal(String value) when exponent is greater than
Integer.MAX_VALUE.
|
testConstrStringExceptionExponentLessIntegerMin | public void testConstrStringExceptionExponentLessIntegerMin()(Code) | | new BigDecimal(String value) when exponent is less than
Integer.MIN_VALUE.
|
testConstrStringExponentIntegerMax | public void testConstrStringExponentIntegerMax()(Code) | | new BigDecimal(String value)
when exponent is Integer.MAX_VALUE.
|
testConstrStringExponentIntegerMin | public void testConstrStringExponentIntegerMin()(Code) | | new BigDecimal(String value)
when exponent is Integer.MIN_VALUE.
|
testConstrStringMathContext | public void testConstrStringMathContext()(Code) | | new BigDecimal(String value, MathContext)
|
testConstrStringWithExponentWithPoint1 | public void testConstrStringWithExponentWithPoint1()(Code) | | new BigDecimal(String value);
value contains both exponent and decimal point
|
testConstrStringWithExponentWithPoint2 | public void testConstrStringWithExponentWithPoint2()(Code) | | new BigDecimal(String value);
value contains both exponent and decimal point
|
testConstrStringWithExponentWithPoint3 | public void testConstrStringWithExponentWithPoint3()(Code) | | new BigDecimal(String value);
value contains both exponent and decimal point
|
testConstrStringWithExponentWithPoint4 | public void testConstrStringWithExponentWithPoint4()(Code) | | new BigDecimal(String value);
value contains both exponent and decimal point
|
testConstrStringWithExponentWithPoint5 | public void testConstrStringWithExponentWithPoint5()(Code) | | new BigDecimal(String value);
value contains both exponent and decimal point
|
testConstrStringWithExponentWithoutPoint1 | public void testConstrStringWithExponentWithoutPoint1()(Code) | | new BigDecimal(String value); value contains exponent
and does not contain decimal point
|
testConstrStringWithExponentWithoutPoint2 | public void testConstrStringWithExponentWithoutPoint2()(Code) | | new BigDecimal(String value); value contains exponent
and does not contain decimal point
|
testConstrStringWithExponentWithoutPoint3 | public void testConstrStringWithExponentWithoutPoint3()(Code) | | new BigDecimal(String value); value contains exponent
and does not contain decimal point
|
testConstrStringWithExponentWithoutPoint4 | public void testConstrStringWithExponentWithoutPoint4()(Code) | | new BigDecimal(String value); value contains exponent
and does not contain decimal point
|
testConstrStringWithExponentWithoutPoint5 | public void testConstrStringWithExponentWithoutPoint5()(Code) | | new BigDecimal(String value); value contains exponent
and does not contain decimal point
|
testConstrStringWithoutExpNeg | public void testConstrStringWithoutExpNeg()(Code) | | new BigDecimal(String value); value does not contain exponent
|
testConstrStringWithoutExpPos1 | public void testConstrStringWithoutExpPos1()(Code) | | new BigDecimal(String value); value does not contain exponent
|
testConstrStringWithoutExpPos2 | public void testConstrStringWithoutExpPos2()(Code) | | new BigDecimal(String value); value does not contain exponent
|
testConstrStringWithoutExpWithoutPoint | public void testConstrStringWithoutExpWithoutPoint()(Code) | | new BigDecimal(String value); value does not contain exponent
and decimal point
|
testFieldONE | public void testFieldONE()(Code) | | check ONE
|
testFieldTEN | public void testFieldTEN()(Code) | | check TEN
|
testFieldZERO | public void testFieldZERO()(Code) | | check ZERO
|
|
|
|