#NEWLINE# def testExperience( self ) : #NEWLINE# #INDENT# o = objects . Thing ( store = self . store , name = 'hitty' ) #NEWLINE# a = objects . Actor . createFor ( o ) #NEWLINE# self . assertEquals ( a . experience , 0 ) #NEWLINE# a . gainExperience ( 1100 ) #NEWLINE# self . assertEquals ( a . experience , 1100 ) #NEWLINE# self . assertEquals ( a . level , 10 )