@UnitTest public class CoreAlgorithmsTest extends java.lang.Object
| Constructor and Description |
|---|
CoreAlgorithmsTest() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
oldRound(double value,
int digits) |
protected double |
round(double value,
int digits,
boolean legacyAPI) |
void |
testConvertAndRound() |
void |
testLegacyRoundingMode() |
void |
testRoundHalfUp() |
void |
testRoundHalfUpNegative() |
void |
testRoundNaN() |
protected void |
testRoundWithDouble4LegacyTesting(boolean legacyMode,
boolean legacyAPI) |
public void testRoundHalfUp()
public void testRoundHalfUpNegative()
public void testConvertAndRound()
public void testRoundNaN()
public void testLegacyRoundingMode()
protected void testRoundWithDouble4LegacyTesting(boolean legacyMode,
boolean legacyAPI)
protected double round(double value,
int digits,
boolean legacyAPI)
protected double oldRound(double value,
int digits)
Copyright © 2018 SAP SE. All Rights Reserved.