/usr/include/opengm/unittests/blackboxtests/blackboxtestbase.hxx is in libopengm-dev 2.3.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #pragma once
#ifndef OPENGM_TEST_INFERENCE_BLACKBOXTEST_BASE_HXX
#define OPENGM_TEST_INFERENCE_BLACKBOXTEST_BASE_HXX
/// \cond HIDDEN_SYMBOLS
namespace opengm {
enum BlackBoxBehaviour
{
PASS, OPTIMAL, FAIL
};
template<class GM>
class BlackBoxTestBase
{
public:
virtual ~BlackBoxTestBase(){}
virtual std::string infoText() = 0;
virtual GM getModel(size_t) = 0;
virtual size_t numberOfTests() = 0;
virtual BlackBoxBehaviour behaviour() = 0;
};
} // namepsace opengm
/// \endcond
#endif // #ifndef OPENGM_TEST_INFERENCE_BLACKBOXTEST_BASE_HXX
|