Skip to content

Commit dc7ea85

Browse files
committed
test: add TODO comment
1 parent b27fdb1 commit dc7ea85

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Spatial.Tests/Euclidean/Circle2DTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public void CircleIntersectWithLine2D_NumberOfIntersections(string sc, double ra
7373
var actual = circle.IntersectWith(line);
7474

7575
Assert.That(actual.Count(), Is.EqualTo(expectedNumberOfIntersections));
76+
//TODO: the intersection should be on the circle
77+
Assert.That(actual.All(p => Math.Abs(circle.Center.DistanceTo(p) - circle.Radius) < 1e-6), Is.EqualTo(true), "distance between center and intersection");
78+
//TODO: the intersection should be on the line
7679
}
7780

7881
//segment contains the all intersections(same to the cases of circle and line)

0 commit comments

Comments
 (0)