diff test/SbpOperators/boundaryops/boundary_restriction_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 5fb64e42138c
children
line wrap: on
line diff
--- a/test/SbpOperators/boundaryops/boundary_restriction_test.jl	Fri Feb 06 17:35:25 2026 +0100
+++ b/test/SbpOperators/boundaryops/boundary_restriction_test.jl	Sat Feb 07 22:54:36 2026 +0100
@@ -32,6 +32,11 @@
             @test e_w isa InflatedTensor
             @test e_w isa LazyTensor{T,1,2} where T
         end
+
+        @testset "0D" begin
+            g = ZeroDimGrid(1)
+            @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_restriction(g, stencil_set, ())
+        end
     end
 
     @testset "Application" begin