Mercurial > repos > public > sbplib_julia
diff test/Grids/manifolds_test.jl @ 1946:c63116e2ec8e feature/grids/manifolds
Make boundaries() a method of boundary_identifiers
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 07 Feb 2025 17:37:42 +0100 |
parents | 19efb9dacfff |
children | 6dd00ea0511a |
line wrap: on
line diff
--- a/test/Grids/manifolds_test.jl Fri Feb 07 15:56:26 2025 +0100 +++ b/test/Grids/manifolds_test.jl Fri Feb 07 17:37:42 2025 +0100 @@ -24,7 +24,7 @@ @test jacobian(c, [3,2]) == [2,2] - @test Set(boundaries(Chart(X,unitsquare()))) == Set([east(),west(),south(),north()]) + @test Set(boundary_identifiers(Chart(X,unitsquare()))) == Set([east(),west(),south(),north()]) end @testset "CartesianAtlas" begin @@ -88,10 +88,10 @@ ]) end - @testset "boundaries" begin + @testset "boundary_identifiers" begin # 2D a = CartesianAtlas(fill(Chart(identity, unitcube()), 2,3)) - @test Set(boundaries(a)) == Set([ + @test Set(boundary_identifiers(a)) == Set([ MultiBlockBoundary{(1,1), south}(), MultiBlockBoundary{(2,1), south}(), MultiBlockBoundary{(2,1), east}(), @@ -106,7 +106,7 @@ # 3D a = CartesianAtlas(fill(Chart(identity, unitsquare()), 2,2,3)) - @test Set(boundaries(a)) == Set([ + @test Set(boundary_identifiers(a)) == Set([ MultiBlockBoundary{(1,1,1), bottom}(), MultiBlockBoundary{(2,1,1), bottom}(), MultiBlockBoundary{(1,2,1), bottom}(), @@ -185,7 +185,7 @@ @test connections(a) == cn end - @testset "boundaries" begin + @testset "boundary_identifiers" begin c = Chart(identity, unitsquare()) cn = [ (MultiBlockBoundary{1, east}(), MultiBlockBoundary{2, west}()), @@ -195,7 +195,7 @@ a = UnstructuredAtlas([c, c, c], cn) - @test Set(boundaries(a)) == Set([ + @test Set(boundary_identifiers(a)) == Set([ MultiBlockBoundary{1, west}(), MultiBlockBoundary{1, south}(), MultiBlockBoundary{2, south}(),