Mercurial > repos > public > sbplib_julia
diff test/Grids/manifolds_test.jl @ 1918:b1560da986f3 feature/grids/manifolds
Update test for connections using MultiBlockBoundary
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 04 Feb 2025 21:53:31 +0100 |
parents | e7f8d11c4670 |
children | 71d218593cac |
line wrap: on
line diff
--- a/test/Grids/manifolds_test.jl Tue Feb 04 21:45:06 2025 +0100 +++ b/test/Grids/manifolds_test.jl Tue Feb 04 21:53:31 2025 +0100 @@ -20,24 +20,18 @@ a = CartesianAtlas([c c; c c]) @test a isa Atlas @test charts(a) == [c c; c c] - @test_broken connections(a) == [ - ( - ((1,1), CartesianBoundary{1,UpperBoundary}()), - ((1,2), CartesianBoundary{1,LowerBoundary}()), - ), - ( - ((1,1), CartesianBoundary{2,LowerBoundary}()), - ((2,1), CartesianBoundary{2,UpperBoundary}()), - ), - ( - ((2,2), CartesianBoundary{1,LowerBoundary}()), - ((2,1), CartesianBoundary{1,UpperBoundary}()), - ), - ( - ((2,2), CartesianBoundary{2,UpperBoundary}()), - ((1,2), CartesianBoundary{2,LowerBoundary}()), - ) - ] + + west = CartesianBoundary{1,LowerBoundary} + east = CartesianBoundary{1,UpperBoundary} + south = CartesianBoundary{2,LowerBoundary} + north = CartesianBoundary{2,UpperBoundary} + + @test_broken Set(connections(a)) == Set([ + (MultiBlockBoundary{(1,1), east}, MultiBlockBoundary{(2,1), west}), + (MultiBlockBoundary{(1,2), east}, MultiBlockBoundary{(2,2), west}), + (MultiBlockBoundary{(1,1), north}, MultiBlockBoundary{(1,2), south}), + (MultiBlockBoundary{(1,2), north}, MultiBlockBoundary{(2,2), south}), + ]) end @testset "UnstructuredAtlas" begin