MCPcopy
hub / github.com/CadQuery/cadquery / testVectorNotImplemented

Method testVectorNotImplemented

tests/test_cad_objects.py:365–370  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

363 )
364
365 def testVectorNotImplemented(self):
366 v = Vector(1, 2, 3)
367 with self.assertRaises(NotImplementedError):
368 v.distanceToLine()
369 with self.assertRaises(NotImplementedError):
370 v.distanceToPlane()
371
372 def testVectorSpecialMethods(self):
373 v = Vector(1, 2, 3)

Callers

nothing calls this directly

Calls 3

distanceToLineMethod · 0.95
distanceToPlaneMethod · 0.95
VectorClass · 0.85

Tested by

no test coverage detected