( self )
| 47 | self.assertEqual( IECore.RefCounted.numWrappedInstances(), 0 ) |
| 48 | |
| 49 | def testUserData( self ): |
| 50 | |
| 51 | p = IECore.CompoundParameter( "n", "d", [], userData = IECore.CompoundObject( { "test": IECore.StringData("hi"), "test2": IECore.IntData(2), "test3": IECore.CompoundObject( { "test4": IECore.FloatData( 1.0 ) } ) } ) ) |
| 52 | |
| 53 | p2 = IECore.CompoundParameter( "n", "d", [], userData = { "test": IECore.StringData("hi"), "test2": IECore.IntData(2), "test3": { "test4": IECore.FloatData( 1.0 ) } } ) |
| 54 | |
| 55 | self.assertEqual( p.userData(), p2.userData() ) |
| 56 | |
| 57 | def testDerivedClassElement( self ): |
| 58 |
nothing calls this directly
no test coverage detected