Mercurial > repos > public > sbplib_julia
comparison test/Grids/manifolds_test.jl @ 1932:ac63820222f8 feature/grids/manifolds
Make field types of CartesianAtlas concrete
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 07 Feb 2025 09:20:24 +0100 |
parents | e985eaa20ecf |
children | 2801507dbee1 |
comparison
equal
deleted
inserted
replaced
1931:bb2c708d724d | 1932:ac63820222f8 |
---|---|
25 @test a isa Atlas | 25 @test a isa Atlas |
26 @test charts(a) == [c c; c c] | 26 @test charts(a) == [c c; c c] |
27 | 27 |
28 c2 = Chart(x->2x, unitsquare()) | 28 c2 = Chart(x->2x, unitsquare()) |
29 @test CartesianAtlas([c c2; c2 c]) isa CartesianAtlas | 29 @test CartesianAtlas([c c2; c2 c]) isa CartesianAtlas |
30 | 30 @test CartesianAtlas(@SMatrix[c c; c c]) isa CartesianAtlas |
31 @test CartesianAtlas(@SMatrix[c c2; c2 c]) isa CartesianAtlas | |
31 | 32 |
32 @testset "connections" begin | 33 @testset "connections" begin |
33 # 2D | 34 # 2D |
34 a = CartesianAtlas(fill(Chart(identity, unitsquare()), 2,3)) | 35 a = CartesianAtlas(fill(Chart(identity, unitsquare()), 2,3)) |
35 west = CartesianBoundary{1,LowerBoundary} | 36 west = CartesianBoundary{1,LowerBoundary} |