@Test public void ShouldConvertMmolToMgDlExactly_WhenMgDlNeeded() { assertThat(GlucosioConverter.glucoseToMgDl(1)).isEqualTo(18); }
public static double glucoseToMgDl(double mmolL) { return mmolL * MG_DL_TO_MMOL_CONSTANT; }
GlucosioConverter { public static double glucoseToMgDl(double mmolL) { return mmolL * MG_DL_TO_MMOL_CONSTANT; } }
GlucosioConverter { public static double glucoseToMgDl(double mmolL) { return mmolL * MG_DL_TO_MMOL_CONSTANT; } private  GlucosioConverter(); }
GlucosioConverter { public static double glucoseToMgDl(double mmolL) { return mmolL * MG_DL_TO_MMOL_CONSTANT; } 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); }
GlucosioConverter { public static double glucoseToMgDl(double mmolL) { return mmolL * MG_DL_TO_MMOL_CONSTANT; } 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);  }