view test/Grids/multiblockgrids_test.jl @ 2042:5fb64e42138c bugfix/zero_dim_grid_boundary_ops

Add implementation of boundary_restriction for ZeroDimGrid throwing an error
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 05 Feb 2026 22:22:25 +0100
parents 7da0ce15b3c1
children ea2a15454cf2
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