diff test/SbpOperators/boundaryops/normal_derivative_test.jl @ 2054:c08bc343d1cd feature/sbp_operators/laplace_curvilinear

Merge feature/grids/geometry_functions
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 07 Feb 2026 22:54:36 +0100
parents f3d7e2d7a43f 0e93fc7fb2e2
children
line wrap: on
line diff
--- a/test/SbpOperators/boundaryops/normal_derivative_test.jl	Fri Feb 06 17:35:25 2026 +0100
+++ b/test/SbpOperators/boundaryops/normal_derivative_test.jl	Sat Feb 07 22:54:36 2026 +0100
@@ -60,6 +60,11 @@
                 @test d_n*v ≈ v∂y[:,end] atol = 1e-13
             end
         end
+
+        @testset "0D" begin
+            g = ZeroDimGrid(1)
+            @test_throws ArgumentError("ZeroDimGrid has no boundaries") normal_derivative(g, stencil_set, ())
+        end
     end
 
     @testset "MappedGrid" begin