hmm
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
Robin Müller 2022-05-11 00:24:58 +02:00
parent 491736335b
commit ca640ea18f
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -14,16 +14,20 @@ TEST_CASE("ACS Controller", "[AcsController]") {
//acsCtrl.performOperation();
CHECK(1 == 1);
std::ifstream file("unittest/meineTestDaten.txt");
std::string line;
while(std::getline(file, line)) {
std::cout << "ACS CTRL Test test file: " << line << std::endl;
{
std::ifstream file("unittest/meineTestDaten.txt");
std::string line;
while(std::getline(file, line)) {
std::cout << "ACS CTRL Test test file: " << line << std::endl;
}
}
file.close();
rapidcsv::Document doc("unittest/meineTestDaten.txt");
std::vector<int> col = doc.GetColumn<int>("test0");
std::cout << "Read " << col.size() << " values: " << col[0] << ", " << col[1] << std::endl;
{
rapidcsv::Document doc("unittest/meineTestDaten.txt");
std::vector<int> col = doc.GetColumn<int>("test0");
std::cout << "Read " << col.size() << " values: " << col[0] << ", " << col[1] << std::endl;
}
REQUIRE(2 == 2);
}