Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::InvalidInputTest Class Reference

#include <invalid_input_tests.h>

Inheritance diagram for operations_research::math_opt::InvalidInputTest:

Protected Member Functions

SolverType TestedSolver () const
 

Detailed Description

To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>InvalidInputTest, InvalidInputTest, testing::Values(InvalidInputTestParameters( SolverType::k<Solver>, /*use_integer_variables=*‍/true)));

Todo
(b/172553545): this test should not be repeated for each solver since it tests that the Solver class validates the model before calling the interface.

Definition at line 54 of file invalid_input_tests.h.

Member Function Documentation

◆ TestedSolver()

SolverType operations_research::math_opt::InvalidInputTest::TestedSolver ( ) const
inlineprotected

Definition at line 57 of file invalid_input_tests.h.


The documentation for this class was generated from the following file: