MCPcopy Create free account
hub / github.com/ImageEngine/cortex / testHash

Method testHash

test/IECore/ObjectVectorTest.py:174–180  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

172 self.assertTrue( o[i].isSame( l[i] ) )
173
174 def testHash( self ) :
175
176 o = IECore.ObjectVector()
177 h = o.hash()
178
179 o.append( IECore.IntData( 10 ) )
180 self.assertNotEqual( o.hash(), h )
181
182 def testHashWithEmptyElements( self ) :
183

Callers

nothing calls this directly

Calls 3

hashMethod · 0.95
ObjectVectorMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected