예제 #1
0
 def test_pt_BR_ssn_checksum(self):
     assert pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2]) == 2
     assert pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2, 2]) == 0
예제 #2
0
파일: ssn.py 프로젝트: Stasonhub/faker-2
 def test_pt_BR_ssn_checksum(self):
     self.assertEqual(pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2]), 2)
     self.assertEqual(pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2, 2]), 1)
예제 #3
0
 def test_pt_BR_ssn_checksum(self):
     self.assertEqual(pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2]), 2)
     self.assertEqual(pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2, 2]), 1)
예제 #4
0
파일: test_ssn.py 프로젝트: joke2k/faker
 def test_pt_BR_ssn_checksum(self):
     assert pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2]) == 2
     assert pt_checksum([8, 8, 2, 8, 2, 1, 6, 5, 2, 2]) == 0