Mercurial > repos > public > sbplib_julia
comparison test/Grids/grid_test.jl @ 1252:c150eabaf656 refactor/grids
Fix or mark tests broken where needed
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 22 Feb 2023 12:47:08 +0100 |
parents | 6323d2fe3b4f |
children | 20f42cf0800c |
comparison
equal
deleted
inserted
replaced
1251:6f75f2d2bf5c | 1252:c150eabaf656 |
---|---|
4 @testset "Grid" begin | 4 @testset "Grid" begin |
5 @test_broken false | 5 @test_broken false |
6 end | 6 end |
7 | 7 |
8 @testset "eval_on" begin | 8 @testset "eval_on" begin |
9 @test_broken false | 9 g = equidistant_grid((5,3), (0.0,0.0), (2.0,1.0)) |
10 | |
11 @test_broken eval_on(g, (x,y) -> 0.) isa LazyArray | |
12 @test_broken eval_on(g, (x,y) -> 0.) == fill(0., (5,3)) | |
13 | |
14 f(x,y) = sin(x)*cos(y) | |
15 @test_broken eval_on(g, f) == map(p->f(p...), points(g)) | |
10 end | 16 end |
11 | 17 |
12 @testset "getcomponent" begin | 18 @testset "getcomponent" begin |
13 @test_broken false | 19 @test_broken false |
14 end | 20 end |