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

Method testEquality

test/IECore/NullObjectTest.py:41–47  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

39class NullObjectTest( unittest.TestCase ) :
40
41 def testEquality( self ) :
42
43 o1 = IECore.NullObject()
44 o2 = IECore.NullObject()
45 self.assertEqual( o1, o2 )
46
47 self.assertEqual( IECore.NullObject.defaultNullObject(), IECore.NullObject.defaultNullObject() )
48
49 def testIdentity( self ) :
50

Callers

nothing calls this directly

Calls 2

NullObjectMethod · 0.80
defaultNullObjectMethod · 0.80

Tested by

no test coverage detected