diff test/Grids/manifolds_test.jl @ 1580:fdee60ab8c4e feature/grids/manifolds

Add ndims method for ParameterSpace
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 25 Apr 2024 22:15:12 +0200
parents 14d79b13b54f
children f77c5309dd2b
line wrap: on
line diff
--- a/test/Grids/manifolds_test.jl	Thu Apr 25 22:14:46 2024 +0200
+++ b/test/Grids/manifolds_test.jl	Thu Apr 25 22:15:12 2024 +0200
@@ -6,6 +6,11 @@
 
 # using StaticArrays
 
+@testset "ParameterSpace" begin
+    @test ndims(HyperBox([1,1], [2,2])) == 2
+    @test ndims(unittetrahedron()) == 3
+end
+
 @testset "HyperBox" begin
     @test HyperBox([1,1], [2,2]) isa HyperBox{Int, 2}