<s> import sys <EOL> import nose <EOL> from python_toolbox import cute_testing <EOL> from python_toolbox . nifty_collections . ordered_dict import OrderedDict <EOL> def test ( ) : <EOL> from collections import OrderedDict as StdlibOrderedDict <EOL> ordered_dict = OrderedDict ( ( ( <NUM_LIT:1> , '<STR_LIT:a>' ) , ( <NUM_LIT:2> , '<STR_LIT:b>' ) , ( <NUM_LIT:3> , '<STR_LIT:c>' ) ) ) <EOL> stdlib_ordered_dict = StdlibOrderedDict ( ( ( <NUM_LIT:1> , '<STR_LIT:a>' ) , ( <NUM_LIT:2> , '<STR_LIT:b>' ) , ( <NUM_LIT:3> , '<STR_LIT:c>' ) ) ) <EOL> assert ordered_dict == stdlib_ordered_dict <EOL> assert stdlib_ordered_dict == ordered_dict <EOL> assert list ( ordered_dict . items ( ) ) == list ( stdlib_ordered_dict . items ( ) ) <EOL> assert list ( ordered_dict . keys ( ) ) == list ( stdlib_ordered_dict . keys ( ) ) <EOL> assert list ( ordered_dict . values ( ) ) == list ( stdlib_ordered_dict . values ( ) ) <EOL> ordered_dict . move_to_end ( <NUM_LIT:1> ) <EOL> assert ordered_dict != stdlib_ordered_dict <EOL> assert list ( ordered_dict . items ( ) ) != list ( stdlib_ordered_dict . items ( ) ) <EOL> assert list ( ordered_dict . keys ( ) ) != list ( stdlib_ordered_dict . keys ( ) ) <EOL> assert list ( ordered_dict . values ( ) ) != list ( stdlib_ordered_dict . values ( ) ) <EOL> del stdlib_ordered_dict [ <NUM_LIT:1> ] <EOL> stdlib_ordered_dict [ <NUM_LIT:1> ] = '<STR_LIT:a>' <EOL> assert ordered_dict == stdlib_ordered_dict <EOL> assert stdlib_ordered_dict == ordered_dict <EOL> assert list ( ordered_dict . items ( ) ) == list ( stdlib_ordered_dict . items ( ) ) <EOL> assert list ( ordered_dict . keys ( ) ) == list ( stdlib_ordered_dict . keys ( ) ) <EOL> assert list ( ordered_dict . values ( ) ) == list ( stdlib_ordered_dict . values ( ) ) <EOL> assert ordered_dict == OrderedDict ( stdlib_ordered_dict ) == stdlib_ordered_dict <EOL> assert ordered_dict == StdlibOrderedDict ( ordered_dict ) == stdlib_ordered_dict </s>
