#NEWLINE# def testBoundHashIsStable( self ) : #NEWLINE# #INDENT# plane = GafferScene . Plane ( ) #NEWLINE# sphere = GafferScene . Sphere ( ) #NEWLINE# instancer = GafferScene . Instancer ( ) #NEWLINE# instancer [ 'in' ] . setInput ( plane [ 'out' ] ) #NEWLINE# instancer [ 'instance' ] . setInput ( self [ 'out' ] ) #NEWLINE# instancer [ 'parent' ] . setValue ( '/plane' ) #NEWLINE# h = instancer [ 'out' ] . boundHash ( '/plane/instances' ) #NEWLINE# for i in range ( 0 , 100 ) : #NEWLINE# #INDENT# self . assertEqual ( instancer [ 'out' ] . boundHash ( '/plane/instances' ) , h )