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

Method test

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

Source from the content-addressed store, hash-verified

38class ExclusionFrameListTest( unittest.TestCase ) :
39
40 def test( self ) :
41
42 f = IECore.ExclusionFrameList( IECore.FrameRange( 1, 10 ), IECore.FrameRange( 1, 11, 2 ) )
43 self.assertTrue( isinstance( f, IECore.ExclusionFrameList ) )
44 self.assertEqual( f.asList(), [ 2, 4, 6, 8, 10 ] )
45
46 def testStr( self ) :
47

Callers

nothing calls this directly

Calls 3

asListMethod · 0.95
ExclusionFrameListMethod · 0.80
FrameRangeMethod · 0.80

Tested by

no test coverage detected