def test_calculate_check_digit(chars, expected): assert calculate_check_digit(chars) == expected
def test_calculate_check_digit(self, chars, expected): actual = calculate_check_digit(chars) self.assertEqual(actual, expected)