v1.12.0 #269

Merged
muellerr merged 493 commits from develop into main 2022-07-04 11:19:05 +02:00
Showing only changes of commit ca640ea18f - Show all commits

View File

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