#NEWLINE# def testComponents( self ) : #NEWLINE# #INDENT# value1 = Value ( { #NEWLINE# #INDENT# 'EUR' : Decimal ( '81.45' ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# value2 = Value ( { #NEWLINE# #INDENT# 'USD' : Decimal ( '-12.44' ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# value = Value ( { #NEWLINE# #INDENT# 'EUR' : Decimal ( '81.45' ) , #NEWLINE# 'USD' : Decimal ( '-12.44' ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertItemsEqual ( [ value1 , value2 ] , value . components ( ) )