From df9b3d35f41d0d571434786931f5e116507cc239 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Sat, 11 Nov 2023 20:12:26 +0900 Subject: [PATCH] add more tests for `changebasis_I` --- test/test_ChangeBasis.jl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/test_ChangeBasis.jl b/test/test_ChangeBasis.jl index 210e7907d..ddb2f2c47 100644 --- a/test/test_ChangeBasis.jl +++ b/test/test_ChangeBasis.jl @@ -95,6 +95,7 @@ @test P2 ⊒ P1 @test P2 ⋢ P1 @test P1 ⋣ P2 + @test P1 ⊈ P2 test_changebasis_I(P1, P2) test_changebasis_I(P1, P1) @@ -116,9 +117,13 @@ P8 = BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 7, 7])) test_changebasis_I(P7, P8) - Q7 = BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector(-[1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 6])) - Q8 = BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector(-[1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 7, 7])) - test_changebasis_I(Q7, Q8) + _P7 = BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector(-[1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 6])) + _P8 = BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector(-[1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 7, 7])) + test_changebasis_I(_P7, _P8) + + Q1 = BSplineSpace{1, Int64, KnotVector{Int64}}(KnotVector([2, 2, 4, 4, 6, 6])) + Q2 = BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([1, 1, 1, 2, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 7])) + test_changebasis_I(Q1, Q2) end @testset "changebasis_sim" begin