( self )
| 104 | self.assertEqual( o, ooo ) |
| 105 | |
| 106 | def testRemove( self ) : |
| 107 | |
| 108 | m1 = IECore.IntData( 1 ) |
| 109 | m2 = IECore.IntData( 2 ) |
| 110 | m3 = IECore.IntData( 2 ) |
| 111 | |
| 112 | o = IECore.ObjectVector() |
| 113 | o.append( m1 ) |
| 114 | o.append( m2 ) |
| 115 | o.append( m3 ) |
| 116 | |
| 117 | o.remove( m3 ) |
| 118 | |
| 119 | self.assertEqual( len( o ), 2 ) |
| 120 | self.assertTrue( o[0].isSame( m1 ) ) |
| 121 | self.assertTrue( o[1].isSame( m2 ) ) |
| 122 | |
| 123 | self.assertRaises( ValueError, o.remove, m3 ) |
| 124 | |
| 125 | def testIndex( self ) : |
| 126 |
nothing calls this directly
no test coverage detected