@Test public void getSRMFromEBC() { assert(1 == MetricConverter.getSRM(2)); assert(2 == MetricConverter.getSRM(4)); assert(10 == MetricConverter.getSRM(20)); assert(40 == MetricConverter.getSRM(79)); assert(-1 == MetricConverter.getSRM(-2)); assert(0 == MetricConverter.getSRM(0)); }
public static double getSRM(double inEBC) { return (int) Math.round(inEBC / SRM); }
MetricConverter { public static double getSRM(double inEBC) { return (int) Math.round(inEBC / SRM); } }
MetricConverter { public static double getSRM(double inEBC) { return (int) Math.round(inEBC / SRM); }  }
MetricConverter { public static double getSRM(double inEBC) { return (int) Math.round(inEBC / SRM); }  static double getEBC(double inSRM); static double getEBC(String inSRM); static double getSRM(double inEBC); static String getPlato(double gravity); static boolean isCountryMetric(String country); }
MetricConverter { public static double getSRM(double inEBC) { return (int) Math.round(inEBC / SRM); }  static double getEBC(double inSRM); static double getEBC(String inSRM); static double getSRM(double inEBC); static String getPlato(double gravity); static boolean isCountryMetric(String country);  }