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

Method test

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

Source from the content-addressed store, hash-verified

39class TestFrameList( unittest.TestCase ) :
40
41 def test( self ) :
42
43 f = IECore.FrameList.parse( "" )
44 self.assertTrue( isinstance( f, IECore.EmptyFrameList ) )
45 self.assertEqual( len( f.asList() ), 0 )
46 self.assertEqual( repr( f ), "IECore.EmptyFrameList()" )
47
48 f = IECore.FrameList.parse( " " )
49 self.assertTrue( isinstance( f, IECore.EmptyFrameList ) )
50 self.assertEqual( len( f.asList() ), 0 )
51
52 def testReverseConstruction( self ) :
53

Callers

nothing calls this directly

Calls 4

lenFunction · 0.50
reprFunction · 0.50
parseMethod · 0.45
asListMethod · 0.45

Tested by

no test coverage detected