Skip to content

Commit

Permalink
Update some missed constructor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Dec 8, 2024
1 parent 49473ad commit 3f8b9f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ end

# Package and run tests
testable = TestableGeometry(integrand, curve, solution)
runtests(testable, SupportStatus(:line); rtol = 0.5e-2)
runtests(testable; rtol = 0.5e-2)
end

@testitem "Meshes.Box 1D" setup=[Combinations] begin
Expand All @@ -197,7 +197,7 @@ end

# Package and run tests
testable = TestableGeometry(integrand, box, solution)
runtests(testable, SupportStatus(:line); rtol = 1e-6)
runtests(testable; rtol = 1e-6)
end

@testitem "Meshes.Box 2D" setup=[Combinations] begin
Expand All @@ -213,7 +213,7 @@ end

# Package and run tests
testable = TestableGeometry(integrand, box, solution)
runtests(testable, SupportStatus(:surface); rtol = 1e-6)
runtests(testable; rtol = 1e-6)
end

@testitem "Meshes.Box 3D" setup=[Combinations] begin
Expand All @@ -230,7 +230,7 @@ end

# Package and run tests
testable = TestableGeometry(integrand, box, solution)
runtests(testable, SupportStatus(:volume); rtol = 1e-6)
runtests(testable; rtol = 1e-6)
end

@testitem "Meshes.Circle" setup=[Combinations] begin
Expand Down Expand Up @@ -289,7 +289,7 @@ end

# Package and run tests
testable = TestableGeometry(integrand, cone, solution)
runtests(testable, SupportStatus(:surface); rtol = 1e-6)
runtests(testable; rtol = 1e-6)
end

@testitem "Meshes.Cylinder" setup=[Combinations] begin
Expand Down Expand Up @@ -356,7 +356,7 @@ end
# Package and run tests
# Tolerances are higher due to `measure` being only an approximation
testable = TestableGeometry(integrand, ellipsoid, solution)
runtests(testable, SupportStatus(:surface); rtol = 1e-2)
runtests(testable; rtol = 1e-2)
end

@testitem "Meshes.FrustumSurface" setup=[Combinations] begin
Expand Down Expand Up @@ -388,7 +388,7 @@ end

# Package and run tests
testable = TestableGeometry(integrand, frustum, solution)
runtests(testable, SupportStatus(:surface); rtol = 1e-6)
runtests(testable; rtol = 1e-6)
end

@testitem "Meshes.Hexahedron" setup=[Combinations] begin
Expand Down

0 comments on commit 3f8b9f0

Please sign in to comment.