Mercurial > repos > public > sbplib_julia
comparison test/Grids/zero_dim_grid_test.jl @ 1463:4ad1282f8bab feature/grids/boundary_indicies
Implement boundary_indices for ZeroDimGrid
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 28 Nov 2023 08:55:22 +0100 |
parents | dbddd0f61bde |
children | 471a948cd2b2 |
comparison
equal
deleted
inserted
replaced
1462:05eb8ba149e2 | 1463:4ad1282f8bab |
---|---|
39 end | 39 end |
40 | 40 |
41 @testset "boundary_grid" begin | 41 @testset "boundary_grid" begin |
42 @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_grid(ZeroDimGrid(@SVector[1.0,2.0]), :bid) | 42 @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_grid(ZeroDimGrid(@SVector[1.0,2.0]), :bid) |
43 end | 43 end |
44 | |
45 @testset "boundary_indices" begin | |
46 @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_indices(ZeroDimGrid(@SVector[1.0,2.0]), :bid) | |
47 end | |
44 end | 48 end |