Mercurial > repos > public > sbplib_julia
view Grids/test/runtests.jl @ 324:047dee8efaef
Grids.EquidistantGrid: Add constructor for 1d grid
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 24 Sep 2020 21:28:28 +0200 |
parents | 4c62d0253bd4 |
children |
line wrap: on
line source
using Grids using Test @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