( self )
| 39 | class testBinaryFrameList( unittest.TestCase ) : |
| 40 | |
| 41 | def test( self ) : |
| 42 | |
| 43 | r = IECore.BinaryFrameList( IECore.FrameRange( 1, 5) ) |
| 44 | self.assertEqual( r.asList(), [ 1, 5, 3, 2, 4 ] ) |
| 45 | |
| 46 | r = IECore.BinaryFrameList( IECore.FrameRange( 1, 3) ) |
| 47 | self.assertEqual( r.asList(), [ 1, 3, 2 ] ) |
| 48 | |
| 49 | r = IECore.BinaryFrameList( IECore.FrameRange( 1, 6) ) |
| 50 | self.assertEqual( r.asList(), [ 1, 6, 3, 2, 4, 5 ] ) |
| 51 | |
| 52 | r = IECore.BinaryFrameList( IECore.FrameRange( 1, 7) ) |
| 53 | self.assertEqual( r.asList(), [ 1, 7, 4, 2, 5, 3, 6 ] ) |
| 54 | |
| 55 | def testParsing( self ) : |
| 56 |
nothing calls this directly
no test coverage detected