def test_find_number_2():
 s = 'aghwirougiuhfajlsopka"-987?'
 r = find_number(s)
 assert (s[r[0]:r[1]] == '-987')

def test_find_number_2 ( ) : s = 'aghwirougiuhfajlsopka"-987?' r = find_number ( s ) assert ( s [ r [ 0 ] : r [ 1 ] ] == '-987' )
tests that we find an int with a negative sign .