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

Method testStringRepeatability

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

Source from the content-addressed store, hash-verified

120 )
121
122 def testStringRepeatability( self ) :
123
124 h = IECore.MurmurHash()
125 h.append( "i am a lovely string" )
126
127 for i in range( 0, 1000 ) :
128 h2 = IECore.MurmurHash()
129 h2.append( "i am a lovely string" )
130 self.assertEqual( h, h2 )
131
132 def testStringDifferences( self ) :
133

Callers

nothing calls this directly

Calls 2

MurmurHashMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected