1
0
Fork 0
inkscape/share/extensions/tests/test_inkex_bezier.py
Daniel Baumann 02d935e272
Adding upstream version 1.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 23:40:13 +02:00

10 lines
220 B
Python

# coding=utf-8
from inkex.bezier import pointdistance
class TestPointDistance(object):
def test_points_on_horizontal_line(self):
p1 = (0, 0)
p2 = (10, 0)
assert 10 == pointdistance(p1, p2)