diff test/Grids/grid_test.jl @ 1556:ec5e7926c37b

Merge refactor/equidistant_grid/signature
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 13 Apr 2024 23:49:39 +0200
parents 43aaf710463e
children 471a948cd2b2
line wrap: on
line diff
--- a/test/Grids/grid_test.jl	Sat Apr 13 23:44:56 2024 +0200
+++ b/test/Grids/grid_test.jl	Sat Apr 13 23:49:39 2024 +0200
@@ -47,7 +47,7 @@
     @test eval_on(EquidistantGrid(range(0,1,length=4)), x->2x) == 2 .* range(0,1,length=4)
 
 
-    g = equidistant_grid((5,3), (0.0,0.0), (2.0,1.0))
+    g = equidistant_grid((0.0,0.0), (2.0,1.0), 5, 3)
 
     @test eval_on(g, x̄ -> 0.) isa LazyArray
     @test eval_on(g, x̄ -> 0.) == fill(0., (5,3))