Mercurial > repos > public > sbplib_julia
comparison test/Grids/grid_test.jl @ 1324:0713175a5743 refactor/grids
Remove dims function
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 22 Mar 2023 08:50:33 +0100 |
| parents | 356ec6a72974 |
| children | ad31c1022e42 |
comparison
equal
deleted
inserted
replaced
| 1293:c5cf32fab163 | 1324:0713175a5743 |
|---|---|
| 8 | 8 |
| 9 @test eltype(DummyGrid{Int, 2}) == Int | 9 @test eltype(DummyGrid{Int, 2}) == Int |
| 10 @test eltype(DummyGrid{Int, 2}()) == Int | 10 @test eltype(DummyGrid{Int, 2}()) == Int |
| 11 | 11 |
| 12 @test ndims(DummyGrid{Int, 2}()) == 2 | 12 @test ndims(DummyGrid{Int, 2}()) == 2 |
| 13 @test dims(DummyGrid{Int, 2}()) == 1:2 | |
| 14 | 13 |
| 15 @test target_manifold_dim(DummyGrid{Int, 1}()) == 1 | 14 @test target_manifold_dim(DummyGrid{Int, 1}()) == 1 |
| 16 @test target_manifold_dim(DummyGrid{SVector{3,Float64}, 2}()) == 3 | 15 @test target_manifold_dim(DummyGrid{SVector{3,Float64}, 2}()) == 3 |
| 17 | 16 |
| 18 @testset "component_type" begin | 17 @testset "component_type" begin |
