You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2026. It is now read-only.
The current unit testing structure was aimed mainly at testing all possible combinations {f, G, IA} where f is the integral function name/alias, G is a Meshes.Geometry sub-type, and IA is an integration algorithm. In hindsight, the system I wrote for batching these tests was perhaps a little bit too clever for its own good. It also relies on Meshes.measure to produce correct answers for a unit-valued integrand.
As of 7-Sep-2024, we’re currently at about 77% code coverage per the Codecov report. Most of the gaps seem to be related to wrapper/convenience methods, i.e. ones that simply batch out to the core integration methods.
Ideas for a more robust test system:
Define more interesting test geometries with analytic solutions to check against
Evaluate whether TestItems.jl could be helpful here (edit: complete, update below)
The current unit testing structure was aimed mainly at testing all possible combinations
{f, G, IA}wherefis the integral function name/alias,Gis aMeshes.Geometrysub-type, andIAis an integration algorithm. In hindsight, the system I wrote for batching these tests was perhaps a little bit too clever for its own good. It also relies onMeshes.measureto produce correct answers for a unit-valued integrand.As of 7-Sep-2024, we’re currently at about 77% code coverage per the Codecov report. Most of the gaps seem to be related to wrapper/convenience methods, i.e. ones that simply batch out to the core integration methods.
Ideas for a more robust test system:
Status of Unit Tests with Analytic Solutions
Ball(2D)Ball(3D)BezierCurveBox(1D)Box(2D)Box(3D)Box(4D)CartesianGridCircleCylinderCylinderSurfaceDiskEllipsoidHexahedronLineParametrizedCurvePlanePolyAreaQuadrangleRayRegularGridRingRopeSegmentSimpleMeshSphere(2D)Sphere(3D)StructuredMeshTetrahedronTorusTriangleWedgeConeConeSurfaceFrustumFrustumSurfaceParaboloidSurfacePyramid