From d146d71ca1fb0025c2589b6110782344348b609c Mon Sep 17 00:00:00 2001 From: hyrodium Date: Tue, 17 Oct 2023 00:08:55 +0900 Subject: [PATCH] add test for new `BSplineSpace` constructor --- test/test_BSplineSpace.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_BSplineSpace.jl b/test/test_BSplineSpace.jl index 2402a0b4e..aec0451c6 100644 --- a/test/test_BSplineSpace.jl +++ b/test/test_BSplineSpace.jl @@ -6,9 +6,10 @@ P4 = BSplineSpace{2,Real}(P1) P5 = BSplineSpace{2,Float64}(P1) P6 = BSplineSpace{2,Float64}(KnotVector(1:8)) + P7 = BSplineSpace{2,Float64,KnotVector{Float64}}(KnotVector(1:8)) @test P1 == P2 == P3 == P4 == P5 == bsplinespace(P1) == bsplinespace(P2) == bsplinespace(P3) == bsplinespace(P4) == bsplinespace(P5) - @test P5 == P6 - @test typeof(P5) === typeof(P6) + @test P5 == P6 == P7 + @test typeof(P5) === typeof(P6) === typeof(P7) @test P1 isa BSplineSpace{2,Int} @test P2 isa BSplineSpace{2,Int} @test P3 isa BSplineSpace{2,Int}