| 196 | self.assertEqual( i.value, 10 ) |
| 197 | |
| 198 | class PostProcessor( IECore.ModifyOp ) : |
| 199 | |
| 200 | def __init__( self ) : |
| 201 | |
| 202 | IECore.ModifyOp.__init__( self, "", IECore.IntParameter( "result", "" ), IECore.IntParameter( "input", "" ) ) |
| 203 | |
| 204 | def modify( self, obj, args ) : |
| 205 | |
| 206 | obj.value *= 2 |
| 207 | |
| 208 | r = IECore.CachedReader( IECore.SearchPath( "./test/IECore/data/cobFiles" ), PostProcessor(), IECore.ObjectPool(100 * 1024 * 1024) ) |
| 209 | i = r.read( "intDataTen.cob" ) |
no outgoing calls
no test coverage detected