Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Lampert <[email protected]>
  • Loading branch information
mikeingold and JoshuaLampert authored Oct 5, 2024
1 parent 63ac0c5 commit 2e44836
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
origin = Point(0, 0)
ball = Ball(origin, 2.8)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand All @@ -31,7 +31,7 @@ end
origin = Point(0, 0, 0)
ball = Ball(origin, 2.8)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand Down Expand Up @@ -278,7 +278,7 @@ end
pt_e = Point(1, 0, 0)
cyl = Cylinder(pt_e, pt_w, 2.5)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand All @@ -304,7 +304,7 @@ end
pt_e = Point(1, 0, 0)
cyl = CylinderSurface(pt_e, pt_w, 2.5)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand Down Expand Up @@ -425,7 +425,7 @@ end
origin = Point(0, 0, 0)
parab = ParaboloidSurface(origin, 2.5, 4.15)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand Down Expand Up @@ -635,7 +635,7 @@ end
origin = Point(0, 0)
sphere = Sphere(origin, 4.4)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand All @@ -660,7 +660,7 @@ end
origin = Point(0, 0, 0)
sphere = Sphere(origin, 4.4)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand Down Expand Up @@ -688,7 +688,7 @@ end
= Vec(0, 0, 1)
tetrahedron = Tetrahedron(pt_n, pt_w, pt_e, pt_n + ẑ)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand All @@ -714,7 +714,7 @@ end
= Vec(0, 0, 1)
torus = Torus(origin, ẑ, 3.5, 1.25)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand All @@ -739,9 +739,9 @@ end
pt_n = Point(0, 1, 0)
pt_w = Point(-1, 0, 0)
pt_e = Point(1, 0, 0)
triangle = Ngon(pt_e, pt_n, pt_w)
triangle = Triangle(pt_e, pt_n, pt_w)

f = p -> one(Float64)
f(p) = 1.0
fv(p) = fill(f(p), 3)

# Scalar integrand
Expand Down

0 comments on commit 2e44836

Please sign in to comment.