diff options
-rw-r--r-- | tests/testparse.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp index c9c543c37..223b4469b 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -196,8 +196,7 @@ void TestParse::testParseHUDC() QCOMPARE(parse_csv_file(SUBSURFACE_SOURCE "/dives/TestDiveSeabearHUDC.csv", params, pnr - 1, "csv"), 0); -// currently yhr CSV parse fails -// QCOMPARE(dive_table.nr, 1); + QCOMPARE(dive_table.nr, 1); /* * CSV import uses time and date stamps relative to current @@ -222,10 +221,9 @@ void TestParse::testParseCompareHUDCOutput() QStringList readin = orgS.readAll().split("\n"); QStringList written = outS.readAll().split("\n"); -// currently the CSV parse fails -// while(readin.size() && written.size()){ -// QCOMPARE(readin.takeFirst(), written.takeFirst()); -// } + while(readin.size() && written.size()){ + QCOMPARE(readin.takeFirst(), written.takeFirst()); + } clear_dive_file_data(); } |