( self )
| 150 | self.assertEqual( d, dd ); |
| 151 | |
| 152 | def testCompoundData( self ) : |
| 153 | |
| 154 | iface = IECore.IndexedIO.create( os.path.join( "test", "o.fio" ), [], IECore.IndexedIO.OpenMode.Write ) |
| 155 | |
| 156 | d = IECore.CompoundData() |
| 157 | d["A"] = IECore.IntData( 10 ) |
| 158 | d["B"] = IECore.StringData( "hithere" ) |
| 159 | self.assertEqual( d["B"].value, "hithere" ) |
| 160 | |
| 161 | d.save( iface, "test" ) |
| 162 | dd = IECore.Object.load( iface, "test" ) |
| 163 | self.assertEqual( d, dd ) |
| 164 | |
| 165 | def testDataTypes( self ): |
| 166 |
nothing calls this directly
no test coverage detected