( self )
| 42 | class testParameterParser( unittest.TestCase ) : |
| 43 | |
| 44 | def testMultiply( self ) : |
| 45 | |
| 46 | l = IECore.ClassLoader( IECore.SearchPath( os.path.join( "test", "IECore", "ops" ) ) ) |
| 47 | a = l.load( os.path.join( "maths", "multiply" ) )() |
| 48 | |
| 49 | p = a.parameters() |
| 50 | IECore.ParameterParser().parse( ["-a", "10", "-b", "20" ], p ) |
| 51 | |
| 52 | self.assertEqual( a(), IECore.IntData( 200 ) ) |
| 53 | |
| 54 | def testParameterTypes( self ) : |
| 55 |
nothing calls this directly
no test coverage detected