コード例 #1
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_check_positive_with_brake_in_two(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(True, '223444' in list_of_potencial_passwords)
コード例 #2
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_mach(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(
         True,
         self.is_in_list(['144556', '444455', '225555'],
                         list_of_potencial_passwords))
コード例 #3
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_no_four_middle(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '155559' in list_of_potencial_passwords)
コード例 #4
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_no_four_end(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '138888' in list_of_potencial_passwords)
コード例 #5
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_no_mach(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '145556' in list_of_potencial_passwords)
コード例 #6
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_last_match(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(True, '588999' in list_of_potencial_passwords)
コード例 #7
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_double_inside_adjacent_match(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(True, '144556' in list_of_potencial_passwords)
コード例 #8
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_first_match(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(
         True, self.is_in_list(['138899'], list_of_potencial_passwords))
コード例 #9
0
ファイル: test_password.py プロジェクト: wrzehu/first-repo
 def test_no_returning(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '143455' in list_of_potencial_passwords)