check_solvers.cpp file
Implementation of the C++ solver plugin test suite.
Each test is a free function returning a SolverTestResult. The driver run_solver_tests() calls each one in order, catches any exception, and records the outcome. Tests are plain C++26 — no third-party test framework is required at runtime.
Namespaces
- namespace gtopt
Variables
Defines
- #define TC_CHECK(ctx, expr)
- #define TC_CHECK_APPROX(ctx, a, b, eps)
- #define TC_REQUIRE(ctx, expr)