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

Method testRepr

test/IECore/LineSegmentTest.py:200–206  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

198 self.assertEqual( l.intersectT( p )[0], False )
199
200 def testRepr( self ) :
201
202 p0 = imath.V3f( 0, 0, 0 )
203 p1 = imath.V3f( 0, 0, 0 )
204
205 l = IECore.LineSegment3f( p0, p1 )
206 self.assertEqual( repr(l), "IECore.LineSegment3f( " + repr(p0) + ", " + repr(p1) + " )" )
207
208 def testDimensions( self ) :
209

Callers

nothing calls this directly

Calls 1

reprFunction · 0.50

Tested by

no test coverage detected