GlucosioConverter { public static double glucoseToMmolL(double mgDl) { return round(mgDl / MG_DL_TO_MMOL_CONSTANT, 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 ShouldConvertMgDlToMmolExactly_WhenMmolNeeded() { assertThat(GlucosioConverter.glucoseToMmolL(18)).isEqualTo(1); }