Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH committed Aug 11, 2023
1 parent 56fa8c9 commit 6197a3c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/voronoi/voronoi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,8 @@ end
@test collect.(new_points) collect.([
(-1.1363636363636365, 5.954545454545455)
(-0.2999999999999998, 9.3)
(-0.5999999999999996, 11.100000000000001)
(-18.115384615384613, 3.4615384615384617)
(-2.3999999999999986, 21.900000000000006)
(-61.96153846153845, 7.846153846153847)
(-10.807692307692307, 2.730769230769231)
])
@test new_vertices == [1, 2, 3, 4, 5]
Expand All @@ -1073,8 +1073,8 @@ end
@test new_vertices == [1, 2, 3, 4]
new_vertices, new_points = DT.grow_polygon_outside_of_box(vorn, 6, bounding_box)
@test collect.(new_points) collect.([
(7.868421052631579, 0.39473684210526305)
(6.699999999999999, 8.299999999999999)
(23.34210526315789, -4.026315789473685)
(17.5, 15.499999999999995)
(3.1, 5.9)
(2.357142857142857, 2.9285714285714284)
(2.710526315789474, 1.868421052631579)
Expand All @@ -1085,14 +1085,14 @@ end
(-0.7307692307692308, -0.8846153846153846)
(-4.166666666666666, 0.8333333333333335)
(-10.807692307692307, 2.730769230769231)
(-18.115384615384613, 3.4615384615384617)
(-0.26923076923076916, -4.115384615384615)
(-61.96153846153845, 7.846153846153847)
(1.1153846153846159, -13.807692307692308)
])
@test new_vertices == [1, 2, 3, 4, 5]
new_vertices, new_points = DT.grow_polygon_outside_of_box(vorn, 8, bounding_box)
@test collect.(new_points) collect.([
(4.9, 7.1)
(-0.5999999999999996, 11.100000000000001)
(17.5, 15.499999999999995)
(-4.799999999999997, 36.30000000000001)
(-0.2999999999999998, 9.3)
(3.1, 5.9)
])
Expand Down

2 comments on commit 6197a3c

@DanielVandH
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/89433

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.4 -m "<description of version>" 6197a3ce4d52ee06fd12b959440ba64cf5784586
git push origin v0.8.4

Please sign in to comment.