Skip to content

Commit

Permalink
Clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallisto committed Apr 25, 2024
1 parent 4a5b5b7 commit 7220bf1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,15 @@ class GeometrySpec extends AnyFlatSpec with Helper with should.Matchers {
val anEdge: Edge =
1--2

"An Edge" can "be converted to a LineSegment9D" in {
"An Edge" can "be converted to a LineSegment2D" in {
anEdge.toSegment(Map(Node(1) -> Point(), Node(2) -> Point(1.0, 0.0))) shouldBe
LineSegment(Point(), Point(1.0, 0.0))
}

val second: Edge =
3--1

it can "be converted to LineSegment2D" in {
"A sequence of edges" can "be converted to a sequence of LineSegment2D" in {
List(anEdge, second).toSegments(Map(
Node(1) -> Point(),
Node(2) -> Point(1.0, 0.0),
Expand Down

0 comments on commit 7220bf1

Please sign in to comment.