Mercurial > repos > public > sbplib_julia
view test/testGrids.jl @ 348:7fe43d902a27 refactor/remove_dynamic_size_tensormapping
Start trying to change LazyTensors
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 26 Sep 2020 15:20:18 +0200 |
parents | 2b0c9b30ea3b |
children | a18bd337a280 |
line wrap: on
line source
using Sbplib.Grids using Test @testset "Grids" begin @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 end