Esempio n. 1
0
 def test_roundtrip(self):
     for i in range(1000):
         Isbn10.strip(Isbn10.protect(randint(0, 2 ** 32 - 1)))
Esempio n. 2
0
 def test_roundtrip(self):
     for i in range(1000):
         x = randint(0, 2 ** 32 - 1)
         print (x)
         Isbn10.strip(Isbn10.protect(x))