Пример #1
0
 def test_if_works_with_bytes(self, b):
     assert _search_int(b) == 1
Пример #2
0
 def test_ignore_invalid_chars_behind_int(self, s):
     assert _search_int(s) == 1
Пример #3
0
 def test_ignore_whitespace_in_front_of_int(self, s):
     assert _search_int(s) == 1
Пример #4
0
 def test_ignore_whitespace_behind_int(self, s):
     assert _search_int(s) == 1
Пример #5
0
 def test_valid_int(self, s):
     assert _search_int(s) == 1