### Question:
RoundHelper { public static double getRoundedUpFix (final double dValue, @Nonnegative final int nScale) { return getRounded (dValue, nScale, RoundingMode.HALF_UP, EDecimalType.FIX); } private  RoundHelper(); static double getRounded(final double dValue,
                                   @Nonnegative final int nScale,
                                   @Nonnull final RoundingMode eMode,
                                   @Nonnull final EDecimalType eType); static double getRoundedUpFix(final double dValue, @Nonnegative final int nScale); static double getRoundedUpFix2(final double dValue); static double getRoundedEvenExp(final double dValue, @Nonnegative final int nScale); static double getRoundedEvenExp2(final double dValue); @Nonnull static String getFormatted(final double dValue,
                                     @Nonnegative final int nScale,
                                     @Nonnull final EDecimalType eType,
                                     @Nonnull final Locale aLocale); @Nonnull static String getFormattedFix(final double dValue, @Nonnegative final int nScale, final Locale aLocale); @Nonnull static String getFormattedFix2(final double dValue, final Locale aLocale); @Nonnull static String getFormattedExp(final double dValue, @Nonnegative final int nScale, final Locale aLocale); @Nonnull static String getFormattedExp2(final double dValue, final Locale aLocale);  }### Answer:
@Test public void testGetRoundedUpFix () { CommonsAssert.assertEquals (0, RoundHelper.getRoundedUpFix (0, 0)); CommonsAssert.assertEquals (0, RoundHelper.getRoundedUpFix (0.4, 0)); CommonsAssert.assertEquals (0, RoundHelper.getRoundedUpFix (-0.4, 0)); CommonsAssert.assertEquals (0, RoundHelper.getRoundedUpFix (0, 2)); CommonsAssert.assertEquals (1, RoundHelper.getRoundedUpFix (0.9, 0)); CommonsAssert.assertEquals (1, RoundHelper.getRoundedUpFix (1.0, 0)); CommonsAssert.assertEquals (1, RoundHelper.getRoundedUpFix (1.1, 0)); CommonsAssert.assertEquals (1, RoundHelper.getRoundedUpFix (1.4, 0)); CommonsAssert.assertEquals (1, RoundHelper.getRoundedUpFix (1.4999, 0)); CommonsAssert.assertEquals (1.50, RoundHelper.getRoundedUpFix (1.4999, 2)); CommonsAssert.assertEquals (1.50, RoundHelper.getRoundedUpFix2 (1.4999)); CommonsAssert.assertEquals (2, RoundHelper.getRoundedUpFix (1.5, 0)); CommonsAssert.assertEquals (Double.NaN, RoundHelper.getRoundedUpFix (Double.NaN, 0)); CommonsAssert.assertEquals (Double.POSITIVE_INFINITY, RoundHelper.getRoundedUpFix (Double.POSITIVE_INFINITY, 0)); CommonsAssert.assertEquals (Double.NEGATIVE_INFINITY, RoundHelper.getRoundedUpFix (Double.NEGATIVE_INFINITY, 0)); }