Mercurial > repos > public > sbplib_julia
comparison test/Grids/equidistant_grid_test.jl @ 1713:b5690ab5f0b8 refactor/grids/boundary_identifiers_1d
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 05 Sep 2024 08:41:38 +0200 |
parents | 3714a391545a 74f051444e0e |
children | 471a948cd2b2 |
comparison
equal
deleted
inserted
replaced
1710:f09d98874f12 | 1713:b5690ab5f0b8 |
---|---|
109 | 109 |
110 | 110 |
111 @testset "equidistant_grid" begin | 111 @testset "equidistant_grid" begin |
112 @test equidistant_grid(0.0,1.0, 4) isa EquidistantGrid | 112 @test equidistant_grid(0.0,1.0, 4) isa EquidistantGrid |
113 @test equidistant_grid((0.0,0.0),(8.0,5.0), 4, 3) isa TensorGrid | 113 @test equidistant_grid((0.0,0.0),(8.0,5.0), 4, 3) isa TensorGrid |
114 @test equidistant_grid((0.0,),(8.0,), 4) isa TensorGrid | |
114 | 115 |
115 # constuctor | 116 # constuctor |
116 @test_throws DomainError equidistant_grid(0.0, 1.0, 0) | 117 @test_throws DomainError equidistant_grid(0.0, 1.0, 0) |
117 @test_throws DomainError equidistant_grid(1.0, 1.0, 1) | 118 @test_throws DomainError equidistant_grid(1.0, 1.0, 1) |
118 @test_throws DomainError equidistant_grid(1.0, -1.0, 1) | 119 @test_throws DomainError equidistant_grid(1.0, -1.0, 1) |