Skip to content

Commit 3e51f39

Browse files
committed
Update unit test for Julia 1.7
1 parent 765d6f9 commit 3e51f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cuboid.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@test [0.3,-2.5] b
77

88
@test ((x,nout) = surfpt_nearby([0,0],b); (x[1,0] && nout[1,0]) || (x[0,2] && nout[0,1])) # handle point at center properly
9-
@test all([(p = [1sx,2sy]; surfpt_nearby(1.1p,b) == (p, normalize(1.1p-p))) for sx = (-1,1), sy = (-1,1)]) # outside corners
9+
@test all([(p = [1sx,2sy]; surfpt_nearby(1.1p,b) (p, normalize(1.1p-p))) for sx = (-1,1), sy = (-1,1)]) # outside corners
1010
@test all([((x, nout) = surfpt_nearby([1sx,2sy],b); x[1sx,2sy] && all([sx 0; 0 sy]*nout.≥0) && norm(nout)1) for sx = (-1,1), sy = (-1,1)]) # at corners
1111
@test all([surfpt_nearby([ρ*1sx,1sy],b) == ([1sx,1sy], [sx,0]) for ρ = (one⁻⁻,1,one⁺⁺), sx = (-1,1), sy = (-1,0,1)]) # around faces
1212
@test all([surfpt_nearby([0.5sx,ρ*2sy],b) == ([0.5sx,2sy], [0,sy]) for ρ = (one⁻⁻,1,one⁺⁺), sx = (-1,0,1), sy = (-1,1)]) # around faces

0 commit comments

Comments
 (0)