Skip to content

Commit

Permalink
Merge pull request #3655 from JuliaReach/auto-juliaformatter-pr
Browse files Browse the repository at this point in the history
Automatic JuliaFormatter.jl run
  • Loading branch information
schillic authored Nov 23, 2024
2 parents 310cbef + 4303170 commit b93ff0f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/Sets/PolygonNC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ for N in [Float64, Rational{Int}, Float32]
@test x isa Vector{N} && y isa Vector{N}

# membership
P1 = Polygon([N[0, 0], N[2, 1], N[18//10, 12//10], N[1, 1], N[1//2, 3//2], N[-1//2, 2]]);
P2 = Polygon([N[0, 1], N[2, 1]]);
P3 = Polygon([N[3//2, 0], N[3//2, 11//10]]);
x = N[3//2, 1];
y = N[3//2, 3//2];
P1 = Polygon([N[0, 0], N[2, 1], N[18 // 10, 12 // 10], N[1, 1], N[1 // 2, 3 // 2],
N[-1 // 2, 2]])
P2 = Polygon([N[0, 1], N[2, 1]])
P3 = Polygon([N[3 // 2, 0], N[3 // 2, 11 // 10]])
x = N[3 // 2, 1]
y = N[3 // 2, 3 // 2]
for P in (P1, P2, P3)
@test x P
@test y P
Expand Down

0 comments on commit b93ff0f

Please sign in to comment.