comparison test/Grids/curvilinear_grid_test.jl @ 1494:495f7f201d54 feature/grids/curvilinear

Fix some typos in tests
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 01 Dec 2023 12:23:45 +0100
parents 58b8da9c7e56
children a2dc80396808
comparison
equal deleted inserted replaced
1493:58b8da9c7e56 1494:495f7f201d54
115 @test boundary_indices(cg, CartesianBoundary{2,Lower}()) == boundary_indices(lg,CartesianBoundary{2,Lower}()) 115 @test boundary_indices(cg, CartesianBoundary{2,Lower}()) == boundary_indices(lg,CartesianBoundary{2,Lower}())
116 @test boundary_indices(cg, CartesianBoundary{1,Upper}()) == boundary_indices(lg,CartesianBoundary{1,Upper}()) 116 @test boundary_indices(cg, CartesianBoundary{1,Upper}()) == boundary_indices(lg,CartesianBoundary{1,Upper}())
117 end 117 end
118 118
119 @testset "boundary_grid" begin 119 @testset "boundary_grid" begin
120 @test_broken boundary_grid(cg, TensorGridBoundary{1, Lower}()) == 2. * boundary_grid(lg,TensorGridBoundary{1, Lower()}) 120 @test boundary_grid(cg, TensorGridBoundary{1, Lower}()) == 2. * boundary_grid(lg,TensorGridBoundary{1, Lower}())
121 @test_broken boundary_grid(cg, TensorGridBoundary{1, Upper}()) == 2. * boundary_grid(lg,TensorGridBoundary{1, Upper()}) 121 @test_broken boundary_grid(cg, TensorGridBoundary{1, Upper}()) == 2. * boundary_grid(lg,TensorGridBoundary{1, Upper}())
122 @test_broken boundary_grid(cg, TensorGridBoundary{2, Lower}()) == 2. * boundary_grid(lg,TensorGridBoundary{2, Lower()}) 122 @test_broken boundary_grid(cg, TensorGridBoundary{2, Lower}()) == 2. * boundary_grid(lg,TensorGridBoundary{2, Lower}())
123 @test_broken boundary_grid(cg, TensorGridBoundary{2, Upper}()) == 2. * boundary_grid(lg,TensorGridBoundary{2, Upper()}) 123 @test_broken boundary_grid(cg, TensorGridBoundary{2, Upper}()) == 2. * boundary_grid(lg,TensorGridBoundary{2, Upper}())
124 end 124 end
125 125
126 # TBD: Should curvilinear grid support refining and coarsening? 126 # TBD: Should curvilinear grid support refining and coarsening?
127 # This would require keeping the coordinate mapping around which seems burdensome, and might increase compilation time? 127 # This would require keeping the coordinate mapping around which seems burdensome, and might increase compilation time?
128 @testset "refine" begin 128 @testset "refine" begin