view test/Grids/multiblockgrids_test.jl @ 2061:e70417f95713 feature/lazy_tensors/zero_tensor

Add ZeroTensor
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 16 Feb 2026 21:46:35 +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