Draft: unit test for arc by 3 points

This commit is contained in:
vocx-fc
2020-02-04 21:59:48 -06:00
committed by Yorik van Havre
parent 85bce262b4
commit 9c6162f88c

View File

@@ -134,8 +134,9 @@ class DraftCreation(unittest.TestCase):
c = Vector(0, 5, 0)
_msg(" a={0}, b={1}".format(a, b))
_msg(" c={}".format(c))
Draft.make_arc_3points = _fake_function
obj = Draft.make_arc_3points(a, b, c)
import draftobjects.arc_3points as arc3
obj = arc3.make_arc_3points([a, b, c])
self.assertTrue(obj, "'{}' failed".format(operation))
def test_ellipse(self):