From eb50cb4baaa2df01e6dbda460e045652ba47b853 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Thu, 21 Sep 2023 17:13:42 +0400 Subject: [PATCH] Test for bivariate points (#312) --- Project.toml | 2 +- test/MultivariateTest.jl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 7f1d159..0148e6c 100644 --- a/Project.toml +++ b/Project.toml @@ -30,7 +30,7 @@ ApproxFunOrthogonalPolynomialsPolynomialsExt = "Polynomials" ApproxFunOrthogonalPolynomialsStaticExt = "Static" [compat] -ApproxFunBase = "0.8.58, 0.9.15" +ApproxFunBase = "0.8.60, 0.9.16" ApproxFunBaseTest = "0.1" Aqua = "0.7" BandedMatrices = "0.16, 0.17" diff --git a/test/MultivariateTest.jl b/test/MultivariateTest.jl index add4364..64a8c51 100644 --- a/test/MultivariateTest.jl +++ b/test/MultivariateTest.jl @@ -72,6 +72,12 @@ include("testutils.jl") end end + @testset "points" begin + S = Chebyshev(1..2) ⊗ Chebyshev(3..4) + @test all(p ∈ domain(factor(S, 1)) for p in points(S, 10, 10)[1]) + @test all(p ∈ domain(factor(S, 2)) for p in points(S, 10, 10)[2]) + end + @testset "Evaluation" begin @testset "2D" begin