Mercurial > repos > public > sbplib_julia
diff test/SbpOperators/boundaryops/boundary_restriction_test.jl @ 1101:1e8270c18edb feature/lazy_tensors/pretty_printing
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 12 May 2022 21:52:47 +0200 |
parents | 7fc8df5157a7 |
children | 1cc45207817e |
line wrap: on
line diff
--- a/test/SbpOperators/boundaryops/boundary_restriction_test.jl Mon Mar 21 09:32:26 2022 +0100 +++ b/test/SbpOperators/boundaryops/boundary_restriction_test.jl Thu May 12 21:52:47 2022 +0200 @@ -4,7 +4,7 @@ using Sbplib.Grids using Sbplib.LazyTensors using Sbplib.RegionIndices -import Sbplib.SbpOperators.BoundaryOperator +using Sbplib.SbpOperators: BoundaryOperator, Stencil @testset "boundary_restriction" begin stencil_set = read_stencil_set(sbp_operators_path()*"standard_diagonal.toml"; order = 4) @@ -30,7 +30,7 @@ @testset "2D" begin e_w = boundary_restriction(g_2D,e_closure,CartesianBoundary{1,Upper}()) @test e_w == boundary_restriction(g_2D,stencil_set,CartesianBoundary{1,Upper}()) - @test e_w isa InflatedLazyTensor + @test e_w isa InflatedTensor @test e_w isa LazyTensor{T,1,2} where T end end