assert icon indicating copy to clipboard operation
assert copied to clipboard

A simple yet slightly non-obvious assertion utility for Fortran 2018

Results 9 assert issues
Sort by recently updated
recently updated
newest added

Use an example to recommend against using line continuation.

Upon expansion, macros are always one line. Our use of macros to transform code will often necessitate exploiting the Fortran 2023 increase in the maximum line length from 132 to...

- [ ] Rename DEBUG to NDBEG - [ ] Switch the default to assertions being on - [ ] Unify NDEBUG and USE_ASSERTIONS

1. Increment version to 2.0.0 in fpm.toml 2. Document the new option to invoke `assert` via a C-preprocessor macro. 3. Update `fpm.toml` to install the `lib assert.a` static library. 4....

Repair _some_ of the problems currently preventing use of this library with CCE 17.0.0. These changes are necessary, but not sufficient to pass `fpm test`. Specifically, test/test-intrinsic_array remains broken due...

This test has apparently been returning nonsense since the false-assertion example was renamed in 6f4ddfd. The test design (nested invocation of fpm) remains horribly fragile for multiple fundamental reasons, but...

This PR ensures that `#define ASSERTIONS 1` in source code is honored by the `call_assert` macros, regardless of the `ASSERTIONS` setting used to build `assert_m`