Mercurial > repos > public > sbplib_julia
changeset 1864:fa96b57af6a1 refactor/grids/iterable_boundary_indices
Add some missing spaces
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 22 Jan 2025 16:12:31 +0100 |
parents | 516eaabf1169 |
children | b1eb33e62d1e |
files | test/Grids/tensor_grid_test.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r 516eaabf1169 -r fa96b57af6a1 test/Grids/tensor_grid_test.jl --- a/test/Grids/tensor_grid_test.jl Wed Jan 22 09:00:40 2025 +0100 +++ b/test/Grids/tensor_grid_test.jl Wed Jan 22 16:12:31 2025 +0100 @@ -213,8 +213,8 @@ gf = rand(11) @test gf[boundary_indices(TensorGrid(g₁, g₄), TensorGridBoundary{1, LowerBoundary}())] == gf[1] @test gf[boundary_indices(TensorGrid(g₁, g₄), TensorGridBoundary{1, UpperBoundary}())] == gf[11] - @test gf[boundary_indices(TensorGrid(g₄,g₁), TensorGridBoundary{2, LowerBoundary}())]== gf[1] - @test gf[boundary_indices(TensorGrid(g₄,g₁), TensorGridBoundary{2, UpperBoundary}())]== gf[11] + @test gf[boundary_indices(TensorGrid(g₄,g₁), TensorGridBoundary{2, LowerBoundary}())] == gf[1] + @test gf[boundary_indices(TensorGrid(g₄,g₁), TensorGridBoundary{2, UpperBoundary}())] == gf[11] @test collect(boundary_indices(TensorGrid(g₁, g₂), TensorGridBoundary{1, LowerBoundary}())) == [CartesianIndex(1,i) for i ∈ 1:6] @test collect(boundary_indices(TensorGrid(g₁, g₂), TensorGridBoundary{1, UpperBoundary}())) == [CartesianIndex(11,i) for i ∈ 1:6]