Mercurial > repos > public > sbplib_julia
changeset 1276:75a65db29be1 refactor/grids
Minor clean up
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 26 Feb 2023 17:09:35 +0100 |
parents | dcd8654ca33b |
children | 79647b60a73b |
files | src/Grids/equidistant_grid.jl test/Grids/equidistant_grid_test.jl test/Grids/grid_test.jl |
diffstat | 3 files changed, 5 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/equidistant_grid.jl Sun Feb 26 11:53:23 2023 +0100 +++ b/src/Grids/equidistant_grid.jl Sun Feb 26 17:09:35 2023 +0100 @@ -76,11 +76,6 @@ end - - - - - """ equidistant_grid(size::Dims, limit_lower, limit_upper)
--- a/test/Grids/equidistant_grid_test.jl Sun Feb 26 11:53:23 2023 +0100 +++ b/test/Grids/equidistant_grid_test.jl Sun Feb 26 17:09:35 2023 +0100 @@ -115,3 +115,8 @@ end end end + + +@testset "change_length" begin + @test_broken false +end
--- a/test/Grids/grid_test.jl Sun Feb 26 11:53:23 2023 +0100 +++ b/test/Grids/grid_test.jl Sun Feb 26 17:09:35 2023 +0100 @@ -27,9 +27,6 @@ g = equidistant_grid((5,3), (0.0,0.0), (2.0,1.0)) - - # Splat for only one dim, controllef by type specification in function. - @test eval_on(g, x̄ -> 0.) isa LazyArray @test eval_on(g, x̄ -> 0.) == fill(0., (5,3))