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

Method testCopyFrom

test/IECore/MurmurHashTest.py:225–235  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

223 self.assertNotEqual( h, h2 )
224
225 def testCopyFrom( self ) :
226
227 h1 = IECore.MurmurHash()
228 h2 = IECore.MurmurHash()
229 self.assertEqual( h1, h2 )
230
231 h1.append( 1 )
232 self.assertNotEqual( h1, h2 )
233
234 h2.copyFrom( h1 )
235 self.assertEqual( h1, h2 )
236
237 def testHashOfEmptyStrings( self ) :
238

Callers

nothing calls this directly

Calls 3

MurmurHashMethod · 0.80
appendMethod · 0.80
copyFromMethod · 0.45

Tested by

no test coverage detected