Skip to content
Snippets Groups Projects
Commit e6b19307 authored by jstark's avatar jstark
Browse files

Using string compare.

parent 417ed98b
No related branches found
No related tags found
No related merge requests found
Pipeline #4103 failed
......@@ -47,8 +47,8 @@ BOOST_AUTO_TEST_CASE(csv_reader_char)
for(int i = 0; i < v_lin.size() / n; ++i)
{
BOOST_CHECK(v_lin.get(i * n) == col1.get(i) );
BOOST_CHECK(v_lin.get(i * n + 1) == col2.get(i));
BOOST_CHECK(col1.get(i).compare(v_lin.get(i * n)) == 0);
BOOST_CHECK(col2.get(i).compare(v_lin.get(i * n + 1)) == 0);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment