v1.12.0 #269
@ -16,17 +16,18 @@ TEST_CASE("ACS Controller", "[AcsController]") {
|
||||
|
||||
{
|
||||
std::ifstream file("unittest/meineTestDaten.txt");
|
||||
std::string line;
|
||||
while(std::getline(file, line)) {
|
||||
std::cout << "ACS CTRL Test test file: " << line << std::endl;
|
||||
if (file.good()) {
|
||||
std::string line;
|
||||
while(std::getline(file, line)) {
|
||||
std::cout << "ACS CTRL Test test file: " << line << 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;
|
||||
|
||||
// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user