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

Method testAppend

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

Source from the content-addressed store, hash-verified

87 IECore.MurmurHash.fromString( "InvalidStringRepresentation" )
88
89 def testAppend( self ) :
90
91 h = IECore.MurmurHash()
92 for k in [ "hello", 'a', 1, 2.0, 2**62 ] :
93 h2 = IECore.MurmurHash( h )
94 h.append( k )
95 self.assertNotEqual( h, h2 )
96
97 def testKnownHashes( self ) :
98

Callers

nothing calls this directly

Calls 2

MurmurHashMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected