def test_pd_lower_limit(self): result = grade_calculator.grade_converter(3.5) self.assertEqual(result, 92)
def test_pd_upper_limit(self): result = grade_calculator.grade_converter(4) self.assertEqual(result, 100)
def test_n_lower_limit(self): result = grade_calculator.grade_converter(0) self.assertEqual(result, 0)
def test_out_of_range(self): result = grade_calculator.grade_converter(4.1) self.assertEqual(result, 'DOK grade out of range')
def test_n_upper_limit(self): result = grade_calculator.grade_converter(1.4) self.assertEqual(result, 54)