Mercurial > repos > public > sbplib_julia
view test/testGrids.jl @ 351:ffddaf053085
Tests in testDiffOps are to be moved to testSbpOperators. Already moved tests are removed, while those not yet moved are commented out.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sun, 27 Sep 2020 15:26:05 +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