view test/Grids/multiblockgrids_test.jl @ 1935:378d38bab1df feature/grids/manifolds

Move definitions of boundary sides in tests
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Feb 2025 13:33:43 +0100
parents e68669552ed8
children 7da0ce15b3c1
line wrap: on
line source

using Diffinitive.Grids

@testset "MultiBlockBoundary" begin
    @test MultiBlockBoundary{1,UpperBoundary}() isa BoundaryIdentifier

    @test grid_id(MultiBlockBoundary{1,UpperBoundary}()) == 1

    @test boundary_id(MultiBlockBoundary{1,UpperBoundary}()) == UpperBoundary()

end