From 75645cdf83b4c4ce1aadbbcae08eb08a2f59643b Mon Sep 17 00:00:00 2001 From: Michael Ingold Date: Thu, 3 Oct 2024 21:44:54 -0400 Subject: [PATCH] Fix 4D Box test --- test/combinations.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/combinations.jl b/test/combinations.jl index fab23850..a334846e 100644 --- a/test/combinations.jl +++ b/test/combinations.jl @@ -119,9 +119,11 @@ end end @testitem "Meshes.Box 4D" setup=[Setup] begin - box = Box(Point(zeros(4)...), Point(ones(4)...)) + a = zero(Float64) + b = zero(Float64) + box = Box(Point(a, a, a, a), Point(b, b, b, b)) - f = p -> one(FP) + f = p -> one(Float64) # Test for currently-unsupported >3D differentials @test integral(f, box)≈1.0u"m^4" broken=true