def test_if_works_with_bytes(self, b): assert _search_int(b) == 1
def test_ignore_invalid_chars_behind_int(self, s): assert _search_int(s) == 1
def test_ignore_whitespace_in_front_of_int(self, s): assert _search_int(s) == 1
def test_ignore_whitespace_behind_int(self, s): assert _search_int(s) == 1
def test_valid_int(self, s): assert _search_int(s) == 1