Mercurial > repos > public > sbplib_julia
diff test/SbpOperators/boundaryops/boundary_operator_test.jl @ 1719:d81d0660b80d
Merge refactor/grids/boundary_identifiers_1d
author | Vidar Stiernström <vidar.stiernstrom@gmail.com> |
---|---|
date | Thu, 05 Sep 2024 08:26:12 -0700 |
parents | 3714a391545a |
children | 471a948cd2b2 |
line wrap: on
line diff
--- a/test/SbpOperators/boundaryops/boundary_operator_test.jl Thu Sep 05 08:22:47 2024 -0700 +++ b/test/SbpOperators/boundaryops/boundary_operator_test.jl Thu Sep 05 08:26:12 2024 -0700 @@ -13,12 +13,12 @@ g_1D = EquidistantGrid(range(0,1,length=11)) @testset "Constructors" begin - @test BoundaryOperator(g_1D, closure_stencil, Lower()) isa LazyTensor{T,0,1} where T - @test BoundaryOperator(g_1D, closure_stencil, Upper()) isa LazyTensor{T,0,1} where T + @test BoundaryOperator(g_1D, closure_stencil, LowerBoundary()) isa LazyTensor{T,0,1} where T + @test BoundaryOperator(g_1D, closure_stencil, UpperBoundary()) isa LazyTensor{T,0,1} where T end - op_l = BoundaryOperator(g_1D, closure_stencil, Lower()) - op_r = BoundaryOperator(g_1D, closure_stencil, Upper()) + op_l = BoundaryOperator(g_1D, closure_stencil, LowerBoundary()) + op_r = BoundaryOperator(g_1D, closure_stencil, UpperBoundary()) @testset "Sizes" begin @test domain_size(op_l) == (11,)