( self )
| 64 | self.assertTrue( IECore.BoxAlgo.contains( b, bb ) ) |
| 65 | |
| 66 | def testThreading( self ) : |
| 67 | |
| 68 | font = IECoreScene.Font( os.path.join( "test", "IECore", "data", "fonts", "Vera.ttf" ) ) |
| 69 | |
| 70 | def f() : |
| 71 | |
| 72 | for i in range( 0, 100 ) : |
| 73 | font.mesh( str( i ) ) |
| 74 | |
| 75 | threads = [] |
| 76 | for i in range( 0, 100 ) : |
| 77 | thread = threading.Thread( target = f ) |
| 78 | threads.append( thread ) |
| 79 | thread.start() |
| 80 | |
| 81 | for thread in threads : |
| 82 | thread.join() |
| 83 | |
| 84 | def testLineSpacing( self ) : |
| 85 |