Commit 10428607 authored by Steffen Schotthöfer's avatar Steffen Schotthöfer
Browse files

added uni_tests


Former-commit-id: 532d3960
parent 78c7c44f
......@@ -6,7 +6,7 @@
#include "quadratures/quadraturebase.h"
TEST_CASE( "test all scattering kernels", "[kernel]" ) {
std::string filename = std::string( TESTS_PATH ) + "input/unit_kernel.cfg";
std::string filename = std::string( TESTS_PATH ) + "input/unit_tests/kernels/unit_kernel.cfg";
// Load Settings from File
Config* config = new Config( filename );
......
......@@ -7,7 +7,7 @@
#include "common/mesh.h"
TEST_CASE( "unit mesh tests", "[mesh]" ) {
std::string config_file_name = std::string( TESTS_PATH ) + "input/unit_mesh.cfg";
std::string config_file_name = std::string( TESTS_PATH ) + "input/unit_tests/common/unit_mesh.cfg";
Config* config = new Config( config_file_name );
Mesh* mesh = LoadSU2MeshFromFile( config );
......
......@@ -7,7 +7,7 @@
#include "solvers/sphericalharmonics.h"
TEST_CASE( "Test the Newton Optimizer", "[optimizers]" ) {
std::string filename = std::string( TESTS_PATH ) + "input/unit_optimizerNewton.cfg";
std::string filename = std::string( TESTS_PATH ) + "input/unit_tests/optimizers/unit_optimizerNewton.cfg";
// Load Settings from File
Config* config = new Config( filename );
......
......@@ -31,7 +31,7 @@ double f( double x, double y, double z ) {
double sin( double x, double /*y*/, double /*z*/ ) { return sin( x ); }
TEST_CASE( "Quadrature Tests", "[quadrature]" ) {
std::string filename = std::string( TESTS_PATH ) + "input/unit_quadrature.cfg";
std::string filename = std::string( TESTS_PATH ) + "input/unit_tests/quadratures/unit_quadrature.cfg";
// Load Settings from File
Config* config = new Config( filename );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment