Skip to content

Commit

Permalink
Remove problematic testitem
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Dec 29, 2024
1 parent f9bf1c6 commit ceca964
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ end
@test _ones(Float32, 2) == (1.0f0, 1.0f0)
end

@testitem "Differentiation (Enzyme extension loaded)" setup=[Utils] begin
@testitem "Differentiation (EnzymeExt loaded)" setup=[Utils] begin
# _default_diff_method -- using type or instance, Enzyme-supported combination
let sphere = Sphere(Point(0, 0, 0), 1.0)
@test _default_diff_method(Meshes.Sphere, Float64) isa AutoEnzyme
Expand Down Expand Up @@ -55,18 +55,6 @@ end
@test_throws ArgumentError jacobian(box, zeros(3), AutoEnzyme())
end

@testitem "Differentiation (Enzyme extension not loaded)" begin
using Meshes
using MeshIntegrals
using MeshIntegrals: _default_diff_method

# _default_diff_method -- using type or instance, Enzyme-supported combination
let sphere = Sphere(Point(0, 0, 0), 1.0)
@test _default_diff_method(Meshes.Sphere, Float64) isa FiniteDifference
@test _default_diff_method(sphere, Float64) isa FiniteDifference
end
end

@testitem "_ParametricGeometry" setup=[Utils] begin
pt_n = Point(0, 3, 0)
pt_w = Point(-7, 0, 0)
Expand Down

0 comments on commit ceca964

Please sign in to comment.