#NEWLINE# def test_large_pyrange( self ) : #NEWLINE# #INDENT# mod = self . module #NEWLINE# n = sys . maxsize #NEWLINE# data = Range ( 0 , ( n - 1 ) ) #NEWLINE# self . assertEqual ( mod . bisect_left ( data , ( n - 3 ) ) , ( n - 3 ) ) #NEWLINE# self . assertEqual ( mod . bisect_right ( data , ( n - 3 ) ) , ( n - 2 ) ) #NEWLINE# self . assertEqual ( mod . bisect_left ( data , ( n - 3 ) , ( n - 10 ) , n ) , ( n - 3 ) ) #NEWLINE# self . assertEqual ( mod . bisect_right ( data , ( n - 3 ) , ( n - 10 ) , n ) , ( n - 2 ) ) #NEWLINE# x = ( n - 100 ) #NEWLINE# mod . insort_left ( data , x , ( x - 50 ) , ( x + 50 ) ) #NEWLINE# self . assertEqual ( data . last_insert , ( n , x ) ) #NEWLINE# x = ( n - 200 ) #NEWLINE# mod . insort_right ( data , x , ( x - 50 ) , ( x + 50 ) ) #NEWLINE# self . assertEqual ( data . last_insert , ( ( x + 1 ) , x ) )