#NEWLINE# def testTrueDiv( self ) : #NEWLINE# #INDENT# a = util . MathString ( '2' ) #NEWLINE# b = util . MathString ( '1.5' ) #NEWLINE# self . assertEquals ( ( a / 1 ) , 2 ) #NEWLINE# self . assertEquals ( ( a / 1.5 ) , ( 2 / 1.5 ) ) #NEWLINE# self . assertEquals ( ( a / b ) , ( 2 / 1.5 ) ) #NEWLINE# self . assertEquals ( ( 1 / self ) , 0.5 ) #NEWLINE# self . assertEquals ( ( 1.5 / a ) , 0.75 ) #NEWLINE# self . assertEquals ( ( b / a ) , 0.75 )