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

Method testCopyConstructor

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

Source from the content-addressed store, hash-verified

56 self.assertEqual( h, hs )
57
58 def testCopyConstructor( self ) :
59
60 h = IECore.MurmurHash()
61 h.append( 1 )
62 h.append( "hello" )
63
64 self.assertEqual( h, IECore.MurmurHash( h ) )
65 self.assertNotEqual( h, IECore.MurmurHash() )
66
67 def testRepr( self ) :
68

Callers

nothing calls this directly

Calls 2

MurmurHashMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected