TestHelpers.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef MERCURYDPM_TEST_HELPERS_H
6 #define MERCURYDPM_TEST_HELPERS_H
7 
8 #include "Math/ExtendedMath.h"
9 
10 #include <string>
11 
12 namespace helpers
13 {
14  void check(double real, double ideal, double error, std::string errorMessage);
15 
16  void check(Vec3D real, Vec3D ideal, double error, std::string errorMessage);
17 
18  void check(Matrix3D real, Matrix3D ideal, double error, std::string errorMessage);
19 
20  void check(MatrixSymmetric3D real, MatrixSymmetric3D ideal, double error, std::string errorMessage);
21 }
22 
23 #endif // MERCURYDPM_TEST_HELPERS_H
Implementation of a 3D matrix.
Definition: Kernel/Math/Matrix.h:17
Implementation of a 3D symmetric matrix.
Definition: MatrixSymmetric.h:16
Definition: Kernel/Math/Vector.h:30
int error
Definition: calibrate.py:297
Definition: CommandLineHelpers.h:11
void check(double real, double ideal, double error, std::string errorMessage)
Definition: TestHelpers.cc:16
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
Definition: main.h:115