Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm_gtest.cpp
Go to the documentation of this file.
1#include "test/storm_gtest.h"
2
8
9namespace storm::test {
10bool noGurobi = false;
11
13#ifdef STORM_HAVE_GUROBI
15 return true; // Gurobi not relevant for this test suite
16 }
17 try {
18 auto lpSolver = storm::utility::solver::getLpSolver<double>("test", storm::solver::LpSolverTypeSelection::Gurobi);
19 } catch (storm::exceptions::GurobiLicenseException) {
20 return false;
21 }
22 return true;
23#else
24 return false;
25#endif
26}
27} // namespace storm::test
SettingsType const & getModule()
Get module.
bool testGurobiLicense()