Skip to content

Commit

Permalink
tests in testitem to fix naming conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
krcools committed Sep 9, 2024
1 parent fafaf2f commit 390ebe1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/test_gridfunction.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using BEAST
@testitem "gridfunction" begin

# using BEAST
using CompScienceMeshes
using StaticArrays
using LinearAlgebra
using Test
# using Test
U = Float64

a = U(1)
Expand Down Expand Up @@ -113,4 +115,6 @@ gfc0Γ2 = BEAST.FEMFunction(coeffsΓ2, C0Γ2)
@test_throws ErrorException("Functions must be defined over the same geometry.") lincombgfs + 1.0gfc0Γ2

## Test mixed combinations
@test BEAST.Lp_integrate(gfc0 + 1im * gfc0; p=1) sqrt(2) * 21
@test BEAST.Lp_integrate(gfc0 + 1im * gfc0; p=1) sqrt(2) * 21

end

0 comments on commit 390ebe1

Please sign in to comment.