Mercurial > repos > public > sbplib_julia
comparison test/Grids/manifolds_test.jl @ 1564:35fe4375b35f feature/grids/manifolds
Export things and fix ConcreteChart and Simplex
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 25 Apr 2024 13:17:48 +0200 |
parents | 81e97d3bec8c |
children | 157c43966b06 |
comparison
equal
deleted
inserted
replaced
1558:81e97d3bec8c | 1564:35fe4375b35f |
---|---|
29 @test limits(unithyperbox(4)) == ([0,0,0,0],[1,1,1,1]) | 29 @test limits(unithyperbox(4)) == ([0,0,0,0],[1,1,1,1]) |
30 end | 30 end |
31 | 31 |
32 @testset "Simplex" begin | 32 @testset "Simplex" begin |
33 @test Simplex([1,2], [3,4]) isa Simplex{Int, 2} | 33 @test Simplex([1,2], [3,4]) isa Simplex{Int, 2} |
34 @test Simplex([1,2,3], [4,5,6]) isa Simplex{Int, 3} | 34 @test Simplex([1,2,3], [4,5,6],[1,1,1]) isa Simplex{Int, 3} |
35 end | 35 end |
36 | 36 |
37 @testset "Chart" begin | 37 @testset "Chart" begin |
38 | 38 @test ConcreteChart(x->2x, unitsquare()) isa Chart{2} |
39 end | 39 end |
40 | 40 |
41 @testset "Atlas" begin | 41 @testset "Atlas" begin |
42 | 42 |
43 end | 43 end |