Skip to content

Commit ab52fcb

Browse files
committed
add test of nonzero angle
1 parent 8ad9b2a commit ab52fcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,5 +481,8 @@ jagmesh_adj = jagmesh()
481481
g = Graph(3); add_edge!(g, 1, 2); add_edge!(g, 2, 3); add_edge!(g, 3, 1)
482482
pos = Align(Manual([Point2f(0, 4), Point2f(-1, -2), Point2f(1, -2)]), 0.0)(g)
483483
@test pos [Point2f(4, 0), Point2f(-2, 1), Point2f(-2, -1)]
484+
485+
pos = Align(Manual([Point2f(0, 4), Point2f(-1, -2), Point2f(1, -2)]), π/2)(g)
486+
@test pos [Point2f(0, 4), Point2f(-1, -2), Point2f(1, -2)]
484487
end
485488
end

0 commit comments

Comments
 (0)