| // libE57Format testing Copyright © 2022 Andy Maloney <asmaloney@gmail.com> | |
| // SPDX-License-Identifier: BSL-1.0 | |
| // GoogleTest's ASSERT_NO_THROW() doesn't let us show any info about the exceptions. | |
| // This wrapper macro will output the e57::E57Exception context on failure. | |
| // The static_assert is simply there to require a semicolon after the macro so it matches the | |
| // E57_ASSERT_THROW() case. | |
| // For readability of preprocessor using E57_VALIDATION_LEVEL | |