Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Feb 6, 2024
1 parent 03f16c7 commit 51f9d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CairoMakie/test/svg_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ end
@test svg_isnt_rasterized(poly(BezierPath([
MoveTo(0.0, 0.0), LineTo(1.0, 0.0), LineTo(1.0, 1.0), CurveTo(1.0, 1.0, 0.5, 1.0, 0.5, 0.5), ClosePath()
])))
@test !svg_isnt_rasterized(poly(rand(Point2f, 10); color = rand(RGBA, 10)))
@test !svg_isnt_rasterized(poly(rand(Point2f, 10); color = rand(RGBAf, 10)))

poly1 = Makie.GeometryBasics.Polygon(rand(Point2f, 10))
@test svg_isnt_rasterized(poly(Makie.GeometryBasics.MultiPolygon([poly1, poly1])))
Expand Down

0 comments on commit 51f9d91

Please sign in to comment.