diff test/Grids/manifolds_test.jl @ 1582:d9d767980d6f feature/grids/manifolds

Export ParameterSpace
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 26 Apr 2024 22:19:02 +0200
parents f77c5309dd2b
children 03894fd7b132
line wrap: on
line diff
--- a/test/Grids/manifolds_test.jl	Thu Apr 25 22:32:54 2024 +0200
+++ b/test/Grids/manifolds_test.jl	Fri Apr 26 22:19:02 2024 +0200
@@ -12,6 +12,7 @@
 end
 
 @testset "HyperBox" begin
+    @test HyperBox{<:Any, 2} <: ParameterSpace{2}
     @test HyperBox([1,1], [2,2]) isa HyperBox{Int, 2}
 
     @test limits(HyperBox([1,2], [3,4])) == ([1,2], [3,4])
@@ -35,6 +36,7 @@
 end
 
 @testset "Simplex" begin
+    @test Simplex{<:Any, 3} <: ParameterSpace{3}
     @test Simplex([1,2], [3,4]) isa Simplex{Int, 2}
     @test Simplex([1,2,3], [4,5,6],[1,1,1]) isa Simplex{Int, 3}