Mercurial > repos > public > sbplib_julia
diff test/Grids/tensor_grid_test.jl @ 1448:0322c181a1cd feature/grids/curvilinear
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 22 Nov 2023 17:53:31 +0100 |
parents | 433245fd33c0 c0c5e0620b83 |
children | d9d9ab18cdfc |
line wrap: on
line diff
--- a/test/Grids/tensor_grid_test.jl Thu Sep 07 16:51:46 2023 +0200 +++ b/test/Grids/tensor_grid_test.jl Wed Nov 22 17:53:31 2023 +0100 @@ -97,6 +97,12 @@ @test size(TensorGrid(g₁, g₄)) == (11,) @test size(TensorGrid(g₁, g₄, g₂)) == (11,6) + @test size(TensorGrid(g₁, g₂, g₃),1) == 11 + @test size(TensorGrid(g₁, g₂, g₃),2) == 6 + @test size(TensorGrid(g₁, g₂, g₃),3) == 10 + @test size(TensorGrid(g₁, g₄, g₂),1) == 11 + @test size(TensorGrid(g₁, g₄, g₂),2) == 6 + @test length(TensorGrid(g₁, g₂)) == 66 @test length(TensorGrid(g₁, g₃)) == 110 @test length(TensorGrid(g₁, g₂, g₃)) == 660