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

Method assertBox2fEqual

test/IECoreScene/Camera.py:45–49  ·  view source on GitHub ↗
( self, box, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

43class TestCamera( unittest.TestCase ) :
44
45 def assertBox2fEqual( self, box, x1, y1, x2, y2 ):
46 self.assertAlmostEqual( box.min().x, x1 )
47 self.assertAlmostEqual( box.min().y, y1 )
48 self.assertAlmostEqual( box.max().x, x2 )
49 self.assertAlmostEqual( box.max().y, y2 )
50
51 def test( self ) :
52

Callers 3

testRenderOverridesMethod · 0.95
testFitWindowMethod · 0.95

Calls 2

minMethod · 0.80
maxMethod · 0.80

Tested by

no test coverage detected