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

Method testHash

test/IECoreScene/CoordinateSystemTest.py:60–71  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

58 self.assertEqual( aaa.getName(), "b" )
59
60 def testHash( self ) :
61
62 a = IECoreScene.CoordinateSystem( "a" )
63 b = IECoreScene.CoordinateSystem( "a" )
64
65 self.assertEqual( a.hash(), b.hash() )
66
67 b.setName( "b" )
68 self.assertNotEqual( a.hash(), b.hash() )
69
70 b.setName( "a" )
71 self.assertEqual( a.hash(), b.hash() )
72
73 def testLoadCobFromBeforeTransforms( self ) :
74

Callers

nothing calls this directly

Calls 3

hashMethod · 0.95
setNameMethod · 0.95
CoordinateSystemMethod · 0.80

Tested by

no test coverage detected