def test_get_bmi_range_info_under_lang(self): self.assertEqual(Bmi.get_bmi_range_info(17, "es"), "Bajo peso")
def test_get_bmi_range_info_under(self): self.assertEqual(Bmi.get_bmi_range_info(17), "Underweight")
def test_get_bmi_range_info_obese3(self): self.assertEqual(Bmi.get_bmi_range_info(46), "Obese, Class III")
def test_get_bmi_range_info_obese1(self): self.assertEqual(Bmi.get_bmi_range_info(30.1), "Obese, Class I")
def test_get_bmi_range_info_over(self): self.assertEqual(Bmi.get_bmi_range_info(25.3), "Overweight")
def test_get_bmi_range_info_healthy(self): self.assertEqual(Bmi.get_bmi_range_info(19), "Healthy")
def execute_get_bmi_range_info(args): if args.lang: return Bmi.get_bmi_range_info(args.bmi[0], args.lang) else: return Bmi.get_bmi_range_info(args.bmi[0])