changeset 1261:a4834779cd6d refactor/grids

Fix broken boundary_grid tests for equidistant grids
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 23 Feb 2023 12:23:49 +0100
parents 8b9a77d2dc91
children 5e28ae42caf2
files test/Grids/equidistant_grid_test.jl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/Grids/equidistant_grid_test.jl	Thu Feb 23 12:22:18 2023 +0100
+++ b/test/Grids/equidistant_grid_test.jl	Thu Feb 23 12:23:49 2023 +0100
@@ -55,8 +55,8 @@
 
     @testset "boundary_grid" begin
         g = EquidistantGrid(0:0.1:1)
-        @test_broken boundary_grid(g, Lower()) == ZeroDimGrid(fill(0.0)) # TBD: Is fill necessary here? Why?
-        @test_broken boundary_grid(g, Upper()) == ZeroDimGrid(fill(1.0))
+        @test boundary_grid(g, Lower()) == ZeroDimGrid(0.0) # TBD: Is fill necessary here? Why?
+        @test boundary_grid(g, Upper()) == ZeroDimGrid(1.0)
     end
 
     @testset "refine" begin