![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
A suite of unit tests to show that a solver handles other callbacks correctly.
To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P(<Solver>CallbackTest, CallbackTest, testing::Values(CallbackTestParams( SolverType::k<Solver>, /*integer_variables=*/true, /*supported_events=*/{...})); (In Values above, you can put any list of SolverTypes).
Definition at line 127 of file callback_tests.h.
#include <callback_tests.h>