#NEWLINE# def testManyBoxCrash( self ) : #NEWLINE# #INDENT# space = p . Space ( ) #NEWLINE# for x in [ 1 , 2 ] : #NEWLINE# #INDENT# for y in range ( 16 ) : #NEWLINE# #INDENT# size = 10 #NEWLINE# box_points = map ( Vec2d , [ ( ( - size ) , ( - size ) ) , ( ( - size ) , size ) , ( size , size ) , ( size , ( - size ) ) ] ) #NEWLINE# body = p . Body ( 10 , 20 ) #NEWLINE# shape = p . Poly ( body , list ( box_points ) , Vec2d ( 0 , 0 ) ) #NEWLINE# space . add ( body , shape ) #NEWLINE# #UNINDENT# space . step ( ( 1 / 50.0 ) )