diff test/Grids/grid_test.jl @ 2016:e17d90763a3f feature/grids/multiblock_grids

Add ndims for grid types
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 12 Mar 2025 08:59:28 +0100
parents 471a948cd2b2
children
line wrap: on
line diff
--- a/test/Grids/grid_test.jl	Wed Feb 26 23:57:35 2025 +0100
+++ b/test/Grids/grid_test.jl	Wed Mar 12 08:59:28 2025 +0100
@@ -9,6 +9,7 @@
     @test eltype(DummyGrid{Int, 2}) == Int
     @test eltype(DummyGrid{Int, 2}()) == Int
 
+    @test ndims(DummyGrid{Int, 2}) == 2
     @test ndims(DummyGrid{Int, 2}()) == 2
 
     @test coordinate_size(DummyGrid{Int, 1}()) == 1