Skip to content

Commit

Permalink
Fix CI (#4003)
Browse files Browse the repository at this point in the history
* DelaunayTriangulations doesn't convert to F64 internally anymore

* disable test, since it seems random
  • Loading branch information
SimonDanisch authored Jul 2, 2024
1 parent 36f4397 commit a5f3dbe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ReferenceTests/src/tests/examples2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1353,10 +1353,15 @@ end
fig
end

#=
After [email protected], this test started to show slightly randomized triangulations.
Until this gets fixed, we're disabling it.
@reference_test "Voronoiplot with a nonlinear transform" begin
f = Figure()
ax = PolarAxis(f[1, 1], theta_as_x = false)
points = Point2f[(r, phi) for r in 1:10 for phi in range(0, 2pi, length=36)[1:35]]
points = Point2d[(r, phi) for r in 1:10 for phi in range(0, 2pi, length=36)[1:35]]
polygon_color = [r for r in 1:10 for phi in range(0, 2pi, length=36)[1:35]]
polygon_color_2 = [phi for r in 1:10 for phi in range(0, 2pi, length=36)[1:35]]
tr = voronoiplot!(ax, points, smooth = false, show_generators = false, color = polygon_color)
Expand All @@ -1366,6 +1371,7 @@ end
Makie.rlims!(ax, 12)
f
end
=#

@reference_test "Voronoiplot with some custom bounding boxes may not contain all data sites" begin
points = [(-3.0, 7.0), (1.0, 6.0), (-1.0, 3.0), (-2.0, 4.0), (3.0, -2.0), (5.0, 5.0), (-4.0, -3.0), (3.0, 8.0)]
Expand Down

0 comments on commit a5f3dbe

Please sign in to comment.