#NEWLINE# def test_reversed( ) : #NEWLINE# #INDENT# slt = SortedListWithKey ( range ( 10000 ) , key = modulo ) #NEWLINE# rev = reversed ( slt ) #NEWLINE# assert all ( ( ( tup [ 0 ] == tup [ 1 ] ) for tup in zip ( reversed ( sorted ( range ( 10000 ) , key = modulo ) ) , rev ) ) )