コード例 #1
0
 def test_company_id_checksum(self):
     assert company_id_checksum([9, 4, 9, 5, 3, 4, 4, 1, 0, 0, 0,
                                 1]) == [5, 1]
     assert company_id_checksum([1, 6, 0, 0, 4, 6, 3, 9, 0, 0, 0,
                                 1]) == [8, 5]
コード例 #2
0
ファイル: company.py プロジェクト: michaelkunc/faker
 def test_pt_BR_company_id_checksum(self):
     self.assertEqual(company_id_checksum([9, 4, 9, 5, 3, 4, 4, 1, 0, 0, 0, 1]), [5, 1])
     self.assertEqual(company_id_checksum([1, 6, 0, 0, 4, 6, 3, 9, 0, 0, 0, 1]), [8, 5])
コード例 #3
0
ファイル: test_company.py プロジェクト: ncweblist007/faker
 def test_pt_BR_company_id_checksum(self):
     self.assertEqual(
         company_id_checksum([9, 4, 9, 5, 3, 4, 4, 1, 0, 0, 0, 1]), [5, 1])
     self.assertEqual(
         company_id_checksum([1, 6, 0, 0, 4, 6, 3, 9, 0, 0, 0, 1]), [8, 5])
コード例 #4
0
ファイル: test_company.py プロジェクト: joke2k/faker
 def test_pt_BR_company_id_checksum(self):
     assert company_id_checksum([9, 4, 9, 5, 3, 4, 4, 1, 0, 0, 0, 1]) == [5, 1]
     assert company_id_checksum([1, 6, 0, 0, 4, 6, 3, 9, 0, 0, 0, 1]) == [8, 5]