MCPcopy Create free account
hub / github.com/ImageEngine/cortex / test

Method test

test/IECoreScene/FontTest.py:50–54  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

48 self.assertRaises( Exception, IECoreScene.Font, "notAFont" )
49
50 def test( self ) :
51
52 f = IECoreScene.Font( os.path.join( "test", "IECore", "data", "fonts", "Vera.ttf" ) )
53 m = f.mesh( "hello world" )
54 self.assertTrue( m.isInstanceOf( IECoreScene.MeshPrimitive.staticTypeId() ) )
55
56 def testCharBound( self ) :
57

Callers

nothing calls this directly

Calls 5

meshMethod · 0.95
joinMethod · 0.80
isInstanceOfMethod · 0.80
staticTypeIdMethod · 0.80
FontMethod · 0.45

Tested by

no test coverage detected