Mercurial > repos > public > sbplib_julia
diff test/SbpOperators/boundaryops/normal_derivative_test.jl @ 2053:3a4575fa2702 feature/grids/geometry_functions
Merge bugfix/zero_dim_grid_boundary_ops
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Sat, 07 Feb 2026 22:52:17 +0100 |
| parents | 0e93fc7fb2e2 |
| children | c08bc343d1cd |
line wrap: on
line diff
--- a/test/SbpOperators/boundaryops/normal_derivative_test.jl Fri Feb 06 17:34:58 2026 +0100 +++ b/test/SbpOperators/boundaryops/normal_derivative_test.jl Sat Feb 07 22:52:17 2026 +0100 @@ -30,6 +30,11 @@ @test d_w isa LazyTensor{T,1,2} where T @test d_n isa LazyTensor{T,1,2} where T end + + @testset "0D" begin + g = ZeroDimGrid(1) + @test_throws ArgumentError("ZeroDimGrid has no boundaries") normal_derivative(g, stencil_set, ()) + end end @testset "Accuracy" begin v = eval_on(g_2D, (x,y)-> x^2 + (y-1)^2 + x*y)
