예제 #1
0
 def test_roundtrip(self):
     for i in range(1000):
         Luhn.strip(Luhn.protect(randint(0, 2 ** 32 - 1)))
예제 #2
0
 def check(n, x):
     print (n, x)
     assert Luhn.strip(n) == x