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

Method testStringConstructor

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

Source from the content-addressed store, hash-verified

46 self.assertEqual( h, IECore.MurmurHash() )
47
48 def testStringConstructor( self ) :
49
50 h = IECore.MurmurHash()
51 h.append( 1 )
52 h.append( "hello" )
53
54 s = h.toString()
55 hs = IECore.MurmurHash( s )
56 self.assertEqual( h, hs )
57
58 def testCopyConstructor( self ) :
59

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.95
MurmurHashMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected