def test_check_index_n_low_range(self): result = kivy_grade_calc.check_index(0, kivy_grade_calc.N_GRADE_RANGE) self.assertEqual(0, result)
def test_check_index_bp_high_range(self): result = kivy_grade_calc.check_index(2.4, kivy_grade_calc.BP_GRADE_RANGE) self.assertEqual(40, result)
def test_check_index_n_high_range(self): result = kivy_grade_calc.check_index(1.4, kivy_grade_calc.N_GRADE_RANGE) self.assertEqual(140, result)
def test_check_index_pd_high_range(self): result = kivy_grade_calc.check_index(4.0, kivy_grade_calc.PD_GRADE_RANGE) self.assertEqual(50, result)