mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28:23 +01:00
change: update path to csv test file
This commit is contained in:
parent
85c5e55601
commit
b9393a4524
@ -1,7 +1,11 @@
|
||||
#include <_stdio.h>
|
||||
#include <doctest/doctest.h>
|
||||
#include <tug/Simulation.hpp>
|
||||
|
||||
#include <filesystem>
|
||||
#include "TestUtils.cpp"
|
||||
#include <string>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
static Grid setupSimulation() {
|
||||
int row = 11;
|
||||
@ -54,7 +58,9 @@ static Grid setupSimulation() {
|
||||
}
|
||||
|
||||
TEST_CASE("equality to reference matrix") {
|
||||
MatrixXd reference = CSV2Eigen("/Users/philipp/forschungsprojekt/tug/test/FTCS_11_11_7000.csv");
|
||||
fs::path p = fs::current_path().parent_path().parent_path();
|
||||
string test_path = p.generic_string() + "/test/FTCS_11_11_7000.csv";
|
||||
MatrixXd reference = CSV2Eigen(test_path);
|
||||
|
||||
Grid grid = setupSimulation();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user