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

Method testDefaults

test/IECoreImage/ImageCropOpTest.py:138–144  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

136 raise Exception( "\n".join( errors ) )
137
138 def testDefaults( self ) :
139
140 op = IECoreImage.ImageCropOp()
141
142 self.assertTrue( op['cropBox'].getValue().value.isEmpty() )
143 self.assertEqual( op['resetOrigin'].getValue().value, True )
144 self.assertEqual( op['matchDataWindow'].getValue().value, True )
145
146
147

Callers

nothing calls this directly

Calls 3

ImageCropOpMethod · 0.80
isEmptyMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected