def test_calculate_check_digit(chars, expected):
    assert calculate_check_digit(chars) == expected
Exemple #2
0
 def test_calculate_check_digit(self, chars, expected):
     actual = calculate_check_digit(chars)
     self.assertEqual(actual, expected)
Exemple #3
0
def test_calculate_check_digit(chars, expected):
    assert calculate_check_digit(chars) == expected