Exemplo n.º 1
0
def test_calculate_check_digit(chars, expected):
    assert calculate_check_digit(chars) == expected
Exemplo n.º 2
0
 def test_calculate_check_digit(self, chars, expected):
     actual = calculate_check_digit(chars)
     self.assertEqual(actual, expected)
Exemplo n.º 3
0
def test_calculate_check_digit(chars, expected):
    assert calculate_check_digit(chars) == expected