FORTRAN SOFTWARE CATALOG

Repository owner: Tomohiro Degawa (degawa)

fassert

Extensible assertions for scalar and array values and numerical tolerances.

Repository · Pinned source (678fa217df79) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Testing
License
MIT

Topics: assert, assertion, assertion-library, assertions, assertions-library, floating-point-comparison, fortran, fortran-library, fortran-package-manager, fortran2008, modern-fortran, testing, unit-testing

Classification scope and review notes

Assertions for integer scalars and arrays plus approximate real comparison with an explicit tolerance. The main captures an intentional failed comparison as a logical status and message, checks both, and continues successfully. No source edits; matches the existing Any dependency revision. Not a validation of every type, rank, tolerance convention, custom comparator or test-framework integration.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-29.

Used by (1 selected package)

These selected builds include this repository directly or indirectly. Each link to source identifies the revision that build uses.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

assert_equal / assert_approx_equal / expect_equal / expect_approx_equal

Module: fassert

S3 R2

S3: verified; R2: source-supported

Derivatives / callbacks: not applicable

Assertions for integer scalars and arrays plus approximate real comparison with an explicit tolerance. The main captures an intentional failed comparison as a logical status and message, checks both, and continues successfully. No source edits; matches the existing Any dependency revision. Not a validation of every type, rank, tolerance convention, custom comparator or test-framework integration. The S3 driver checks three positive assertions and 13 captured scalar/vector comparisons, including failures, both exact tolerance boundaries and independently checked logical outcomes and diagnostic labels/status prefixes. The separate R2 mapping remains source-supported.

Pinned source: src/fassert.f90 · src/approxEqual/assertApproxEqual.f90 · src/approxEqual/expectApproxEqual.f90

Author examples/tests: example/collab/testdrive.f90

Load checked GAMS driver: gams-fassert-captured-reference