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

Method testRepr

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

Source from the content-addressed store, hash-verified

65 self.assertNotEqual( h, IECore.MurmurHash() )
66
67 def testRepr( self ) :
68
69 h = IECore.MurmurHash()
70 h.append( 42 )
71 h.append( "world" )
72 h2 = eval( repr( h ) )
73
74 self.assertEqual( h, h2 )
75
76 def testFromString( self ) :
77

Callers

nothing calls this directly

Calls 3

MurmurHashMethod · 0.80
appendMethod · 0.80
reprFunction · 0.50

Tested by

no test coverage detected