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

Method testRepr

test/IECore/ExclusionFrameList.py:52–55  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

50 self.assertEqual( str( f ), "1-10!1-11x2" )
51
52 def testRepr( self ) :
53 import IECore
54 f = IECore.ExclusionFrameList( IECore.FrameRange( 1, 10 ), IECore.FrameRange( 1, 11, 2 ) )
55 self.assertEqual( f, eval( repr( f ) ) )
56
57 def testParsing( self ) :
58

Callers

nothing calls this directly

Calls 3

ExclusionFrameListMethod · 0.80
FrameRangeMethod · 0.80
reprFunction · 0.50

Tested by

no test coverage detected