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

Method testParsing

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

Source from the content-addressed store, hash-verified

53 self.assertEqual( r.asList(), [ 1, 7, 4, 2, 5, 3, 6 ] )
54
55 def testParsing( self ) :
56
57 r = IECore.FrameList.parse( "1-5b" )
58 self.assertTrue( isinstance( r, IECore.BinaryFrameList ) )
59 self.assertEqual( r.asList(), [ 1, 5, 3, 2, 4 ] )
60
61 def testStr( self ) :
62

Callers

nothing calls this directly

Calls 2

parseMethod · 0.45
asListMethod · 0.45

Tested by

no test coverage detected