示例#1
0
 def test_validate_invalidData_thorough(self):
     self.assertEqual(
         0, passport.validCount("invalid.txt", passport.ValidateThorough))
示例#2
0
 def test_validate_inputData_thorough(self):
     self.assertEqual(
         131, passport.validCount("input.txt", passport.ValidateThorough))
示例#3
0
 def test_validate_mixedData_thorough(self):
     self.assertEqual(
         4, passport.validCount("mixed.txt", passport.ValidateThorough))
示例#4
0
 def test_validate_inputData_quick(self):
     self.assertEqual(
         210, passport.validCount("input.txt", passport.validateQuick))
示例#5
0
 def test_validate_testData_quick(self):
     self.assertEqual(
         2, passport.validCount("test.txt", passport.validateQuick))
示例#6
0
 def test_validate_inputData_default(self):
     self.assertEqual(210, passport.validCount("input.txt"))
示例#7
0
 def test_validate_testData_default(self):
     self.assertEqual(2, passport.validCount("test.txt"))