11 #ifndef TEST_INTERFACE_MODELAUXCOVARIANCE_H_
12 #define TEST_INTERFACE_MODELAUXCOVARIANCE_H_
18 #define ECKIT_TESTING_SELF_REGISTER_CASES 0
20 #include <boost/noncopyable.hpp>
22 #include "eckit/config/LocalConfiguration.h"
23 #include "eckit/testing/Test.h"
44 return theModelAuxCovarianceFixture;
56 std::unique_ptr<const eckit::LocalConfiguration>
conf_;
66 std::unique_ptr<Covariance_> cov(
new Covariance_(Test_::config(), Test_::resol()));
68 oops::Log::test() <<
"Testing ModelAuxCovariance: " << *cov << std::endl;
82 template <
typename MODEL>
88 std::string
testid()
const override {
return "test::ModelAuxCovariance<" + MODEL::name() +
">";}
91 std::vector<eckit::testing::Test>& ts = eckit::testing::specification();
93 ts.emplace_back(
CASE(
"interface/ModelAuxCovariance/testConstructor")
94 { testConstructor<MODEL>(); });
Geometry class used in oops; subclass of interface class interface::Geometry.
Auxiliary Error Covariance related to model, not used at the moment.
oops::ModelAuxCovariance< MODEL > Covariance_
std::unique_ptr< const eckit::LocalConfiguration > conf_
std::unique_ptr< Geometry_ > resol_
~ModelAuxCovarianceFixture()
static ModelAuxCovarianceFixture< MODEL > & getInstance()
static const eckit::Configuration & config()
oops::Geometry< MODEL > Geometry_
ModelAuxCovarianceFixture()
static const Geometry_ & resol()
void clear() const override
void register_tests() const override
std::string testid() const override
virtual ~ModelAuxCovariance()
static const eckit::Configuration & config()
const eckit::mpi::Comm & world()
Default communicator with all MPI tasks (ie MPI_COMM_WORLD)
CASE("test_linearmodelparameterswrapper_valid_name")
void testConstructor()
Tests creation and destruction of ObsErrorCovariances.