Example #1
0
 def test_case_0(self):
     test_password = 112233
     assert is_valid_password(test_password, 0, test_password + 1)
Example #2
0
 def test_case_2(self):
     test_password = 123789
     assert not is_valid_password(test_password, 0, test_password + 1)
Example #3
0
 def test_case_3(self):
     test_password = 123444
     assert not is_valid_password(test_password, 0, test_password + 1)
Example #4
0
 def test_case_1(self):
     test_password = 223450
     assert not is_valid_password(test_password, 0, test_password + 1)