コード例 #1
0
ファイル: checksum_test.py プロジェクト: aes/numberlike
 def test_roundtrip(self):
     for i in range(1000):
         Isbn10.strip(Isbn10.protect(randint(0, 2 ** 32 - 1)))
コード例 #2
0
ファイル: checksum_test.py プロジェクト: aes/numberlike
 def test_roundtrip(self):
     for i in range(1000):
         x = randint(0, 2 ** 32 - 1)
         print (x)
         Isbn10.strip(Isbn10.protect(x))