diff test/Grids/zero_dim_grid_test.jl @ 1463:4ad1282f8bab feature/grids/boundary_indicies

Implement boundary_indices for ZeroDimGrid
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 28 Nov 2023 08:55:22 +0100
parents dbddd0f61bde
children 471a948cd2b2
line wrap: on
line diff
--- a/test/Grids/zero_dim_grid_test.jl	Tue Nov 28 08:51:58 2023 +0100
+++ b/test/Grids/zero_dim_grid_test.jl	Tue Nov 28 08:55:22 2023 +0100
@@ -41,4 +41,8 @@
     @testset "boundary_grid" begin
         @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_grid(ZeroDimGrid(@SVector[1.0,2.0]), :bid)
     end
+
+    @testset "boundary_indices" begin
+        @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_indices(ZeroDimGrid(@SVector[1.0,2.0]), :bid)
+    end
 end