Mercurial > repos > public > sbplib_julia
comparison test/Grids/equidistant_grid_test.jl @ 1963:624e19c20c19 feature/grids/manifolds
Clean up some white space
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 11 Feb 2025 09:10:19 +0100 |
parents | 04c251bccbd4 |
children |
comparison
equal
deleted
inserted
replaced
1960:00cac08777b1 | 1963:624e19c20c19 |
---|---|
162 | 162 |
163 @test equidistant_grid(unitinterval(),3) == equidistant_grid(0,1,3) | 163 @test equidistant_grid(unitinterval(),3) == equidistant_grid(0,1,3) |
164 @test equidistant_grid(HyperBox((0,),(2,)),4) == equidistant_grid(@SVector[0], @SVector[2], 4) | 164 @test equidistant_grid(HyperBox((0,),(2,)),4) == equidistant_grid(@SVector[0], @SVector[2], 4) |
165 end | 165 end |
166 | 166 |
167 | |
168 @testset "equidistant_grid(::Chart)" begin | 167 @testset "equidistant_grid(::Chart)" begin |
169 c = Chart(unitsquare()) do (ξ,η) | 168 c = Chart(unitsquare()) do (ξ,η) |
170 @SVector[2ξ, 3η] | 169 @SVector[2ξ, 3η] |
171 end | 170 end |
172 Grids.jacobian(c::typeof(c), ξ̄) = @SMatrix[2 0; 0 3] | 171 Grids.jacobian(c::typeof(c), ξ̄) = @SMatrix[2 0; 0 3] |