Mercurial > repos > public > sbplib_julia
diff Grids/test/runtests.jl @ 331:c8bbb4a83518
Merge
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 25 Sep 2020 09:36:06 +0200 |
parents | 047dee8efaef |
children |
line wrap: on
line diff
--- a/Grids/test/runtests.jl Fri Sep 25 09:35:41 2020 +0200 +++ b/Grids/test/runtests.jl Fri Sep 25 09:36:06 2020 +0200 @@ -1,4 +1,8 @@ using Grids using Test -@test_broken false +@testset "EquidistantGrid" begin + @test EquidistantGrid(4,0,1) isa EquidistantGrid + @test dimension(EquidistantGrid(4,0,1)) == 1 + @test EquidistantGrid(4,0,1) == EquidistantGrid((4,),(0,),(1,)) +end