9 #include <boost/test/tools/output_test_stream.hpp>
10 #include <boost/test/unit_test.hpp>
24 BOOST_AUTO_TEST_SUITE(Visualization)
30 BOOST_CHECK(objErrors.empty());
31 for (
const auto& objerr : objErrors) {
32 std::cout << objerr << std::endl;
34 BOOST_CHECK_EQUAL(
std::count(objTest.begin(), objTest.end(),
'\n'), 1458);
41 BOOST_CHECK(plyErrors.empty());
42 for (
const auto& plyerr : plyErrors) {
43 std::cout << plyerr << std::endl;
45 BOOST_CHECK_EQUAL(
std::count(plyTest.begin(), plyTest.end(),
'\n'), 973);
52 BOOST_CHECK(objErrors.empty());
53 for (
const auto& objerr : objErrors) {
54 std::cout << objerr << std::endl;
56 BOOST_CHECK_EQUAL(
std::count(objTest.begin(), objTest.end(),
'\n'), 520);
63 BOOST_CHECK(plyErrors.empty());
64 for (
const auto& plyerr : plyErrors) {
65 std::cout << plyerr << std::endl;
67 BOOST_CHECK_EQUAL(
std::count(plyTest.begin(), plyTest.end(),
'\n'), 536);
74 BOOST_CHECK(objErrors.empty());
75 for (
const auto& objerr : objErrors) {
76 std::cout << objerr << std::endl;
78 BOOST_CHECK_EQUAL(
std::count(objTest.begin(), objTest.end(),
'\n'), 31010);
85 BOOST_CHECK(plyErrors.empty());
86 for (
const auto& plyerr : plyErrors) {
87 std::cout << plyerr << std::endl;
89 BOOST_CHECK_EQUAL(
std::count(plyTest.begin(), plyTest.end(),
'\n'), 20521);
92 BOOST_AUTO_TEST_SUITE_END()