Skip to content

Commit

Permalink
Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic authored and github-actions[bot] committed Nov 23, 2024
1 parent 310cbef commit 4303170
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 4303170

Please sign in to comment.