Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <callback_tests.h>
A suite of unit tests to validates that a solver handles message callbacks correctly.
To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>MessageCallbackTest, MessageCallbackTest, testing::Values(MessageCallbackTestParams( SolverType::k<Solver>, /*use_new_message_callback=*/true, /*support_message_callback=*/true, /*support_interrupter=*/true, "ENDING")));
Definition at line 75 of file callback_tests.h.