From 6e9fb638ab6056dbf5add1bea8c9a51eaa4c86b3 Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Sat, 29 Jun 2024 11:19:54 -0500 Subject: [PATCH] add tests --- test/reference_elem_tests.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/reference_elem_tests.jl b/test/reference_elem_tests.jl index 46f7a419..a0f56ffd 100644 --- a/test/reference_elem_tests.jl +++ b/test/reference_elem_tests.jl @@ -221,6 +221,12 @@ @test StartUpDG._short_typeof(rd.element_type) == "Pyr" end + + @testset "Collapsed coordinate quadratures" for elem in [Tri(), Tet(), Wedge(), Pyr()] + rd = RefElemData(elem, Polynomial(), 2) + rd_tp = RefElemData(elem, Polynomial(TensorProductQuadrature()), 2) + @test rd.M ≈ rd_tp.M + end end inverse_trace_constant_compare(rd::RefElemData{3, <:Wedge, <:TensorProductWedge}) =