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

Method testStr

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

Source from the content-addressed store, hash-verified

44 self.assertEqual( f.asList(), [ 2, 4, 6, 8, 10 ] )
45
46 def testStr( self ) :
47
48 f = IECore.ExclusionFrameList( IECore.FrameRange( 1, 10 ), IECore.FrameRange( 1, 11, 2 ) )
49 self.assertTrue( isinstance( f, IECore.ExclusionFrameList ) )
50 self.assertEqual( str( f ), "1-10!1-11x2" )
51
52 def testRepr( self ) :
53 import IECore

Callers

nothing calls this directly

Calls 3

ExclusionFrameListMethod · 0.80
FrameRangeMethod · 0.80
strFunction · 0.50

Tested by

no test coverage detected