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

Method testLoadRGB

test/IECoreGL/TextureLoaderTest.py:48–52  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

46 IECoreGL.init( False )
47
48 def testLoadRGB( self ) :
49
50 l = IECoreGL.TextureLoader( IECore.SearchPath( "." + os.path.sep ) )
51 t = l.load( os.path.join( "test", "IECoreImage", "data", "exr", "carPark.exr" ) )
52 self.assertTrue( isinstance( t, IECoreGL.ColorTexture ) )
53
54 def testLoadGreyscale( self ) :
55

Callers

nothing calls this directly

Calls 4

loadMethod · 0.95
TextureLoaderMethod · 0.80
SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected