diff test/testGrids.jl @ 345:2fcc960836c6

Merge branch refactor/combine_to_one_package.
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 26 Sep 2020 15:22:13 +0200
parents 2b0c9b30ea3b
children a18bd337a280
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/testGrids.jl	Sat Sep 26 15:22:13 2020 +0200
@@ -0,0 +1,12 @@
+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