GlucosioConverter { public static double a1cToGlucose(double a1c) { return round((a1c * 28.7) - 46.7, 2); } private  GlucosioConverter(); static double round(double value, int places); static double glucoseToMgDl(double mmolL); static double glucoseToMmolL(double mgDl); static double glucoseToA1C(double mgDl); static double a1cToGlucose(double a1c); static double kgToLb(double kg); static double lbToKg(double lb); static double a1cNgspToIfcc(double ngsp); static double a1cIfccToNgsp(double ifcc);  }
@Test public void ShouldConvertA1CToGlucoseExactly_WhenGlucoseNeeded() { assertThat(GlucosioConverter.a1cToGlucose(2.25)).isEqualTo(17.88); }