| |
|
| org.apache.harmony.tests.java.math.BigDecimalScaleOperationsTest
BigDecimalScaleOperationsTest | public class BigDecimalScaleOperationsTest extends TestCase (Code) | | Class: java.math.BigDecimal
Methods: movePointLeft, movePointRight, scale, setScale, unscaledValue *
|
testMovePointLeftNeg | public void testMovePointLeftNeg()(Code) | | Move the decimal point to the left; the shift value is positive
|
testMovePointLeftPos | public void testMovePointLeftPos()(Code) | | Move the decimal point to the left; the shift value is positive
|
testMovePointRightException | public void testMovePointRightException()(Code) | | Move the decimal point to the right when the scale overflows
|
testMovePointRightNeg | public void testMovePointRightNeg()(Code) | | Move the decimal point to the right; the shift value is positive
|
testMovePointRightPosGreater | public void testMovePointRightPosGreater()(Code) | | Move the decimal point to the right; the shift value is positive
|
testMovePointRightPosLess | public void testMovePointRightPosLess()(Code) | | Move the decimal point to the right; the shift value is positive
|
testPrecision | public void testPrecision()(Code) | | precision()
|
testScaleDefault | public void testScaleDefault()(Code) | | Check the default scale
|
testScaleNeg | public void testScaleNeg()(Code) | | Check a negative scale
|
testScalePos | public void testScalePos()(Code) | | Check a positive scale
|
testScaleZero | public void testScaleZero()(Code) | | Check the zero scale
|
testSetScaleException | public void testSetScaleException()(Code) | | Verify an exception when setting a new scale
|
testSetScaleGreater | public void testSetScaleGreater()(Code) | | Set a greater new scale
|
testSetScaleIntRoundingMode | public void testSetScaleIntRoundingMode()(Code) | | SetScale(int, RoundingMode)
|
testSetScaleLess | public void testSetScaleLess()(Code) | | Set a less new scale; this.scale == 8; newScale == 5.
|
testSetScaleRoundCeiling | public void testSetScaleRoundCeiling()(Code) | | Set a new scale
|
testSetScaleRoundDown | public void testSetScaleRoundDown()(Code) | | Set a new scale
|
testSetScaleRoundFloor | public void testSetScaleRoundFloor()(Code) | | Set a new scale
|
testSetScaleRoundHalfDown | public void testSetScaleRoundHalfDown()(Code) | | Set a new scale
|
testSetScaleRoundHalfEven | public void testSetScaleRoundHalfEven()(Code) | | Set a new scale
|
testSetScaleRoundHalfUp | public void testSetScaleRoundHalfUp()(Code) | | Set a new scale
|
testSetScaleRoundUp | public void testSetScaleRoundUp()(Code) | | Set a new scale
|
testSetScaleSame | public void testSetScaleSame()(Code) | | Set the same new scale
|
testUnscaledValue | public void testUnscaledValue()(Code) | | Check the unscaled value
|
|
|
|