GlucosioConverter { public static double glucoseToA1C(double mgDl) { return round((mgDl + 46.7) / 28.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 ShouldConvertMgDlToA1cExactly_WhenA1CNeeded() { assertThat(GlucosioConverter.glucoseToA1C(18)).isEqualTo(2.25); }