#NEWLINE# def testRandomNoOverlap( self ) : #NEWLINE# #INDENT# for _ in xrange ( 3 ) : #NEWLINE# #INDENT# boxes = [ Box ( random . randrange ( 1 , 40 ) , random . randrange ( 1 , 40 ) ) for _ in xrange ( 100 ) ] #NEWLINE# ( _ , _ , actual ) = pack_boxes ( boxes ) #NEWLINE# self . assert_ ( check_no_overlap ( boxes ) )