Mercurial > repos > public > sbplib_julia
comparison test/Grids/equidistant_grid_test.jl @ 1695:a4c52ae93b11 feature/grids/manifolds
Merge feature/grids/curvilinear
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 28 Aug 2024 10:35:08 +0200 |
parents | 13a7a4ff49e3 3ac94e8f28b3 |
children | 03894fd7b132 |
comparison
equal
deleted
inserted
replaced
1686:b996c35dd647 | 1695:a4c52ae93b11 |
---|---|
111 | 111 |
112 | 112 |
113 @testset "equidistant_grid" begin | 113 @testset "equidistant_grid" begin |
114 @test equidistant_grid(0.0,1.0, 4) isa EquidistantGrid | 114 @test equidistant_grid(0.0,1.0, 4) isa EquidistantGrid |
115 @test equidistant_grid((0.0,0.0),(8.0,5.0), 4, 3) isa TensorGrid | 115 @test equidistant_grid((0.0,0.0),(8.0,5.0), 4, 3) isa TensorGrid |
116 @test equidistant_grid((0.0,),(8.0,), 4) isa TensorGrid | |
116 | 117 |
117 # constuctor | 118 # constuctor |
118 @test_throws DomainError equidistant_grid(0.0, 1.0, 0) | 119 @test_throws DomainError equidistant_grid(0.0, 1.0, 0) |
119 @test_throws DomainError equidistant_grid(1.0, 1.0, 1) | 120 @test_throws DomainError equidistant_grid(1.0, 1.0, 1) |
120 @test_throws DomainError equidistant_grid(1.0, -1.0, 1) | 121 @test_throws DomainError equidistant_grid(1.0, -1.0, 1) |