Browse Source

rm printing from some tests

Alec Jacobson 3 years ago
parent
commit
1c3d487d8e

+ 0 - 1
tests/include/igl/boundary_facets.cpp

@@ -90,7 +90,6 @@ TEST_CASE("boundary_facets: non-manifold", "[igl]")
   igl::sortrows(Eigen::MatrixXi(Egt),true,Egt);
   Eigen::MatrixXi E;
   igl::boundary_facets(F,E);
-  std::cerr<<igl::matlab_format(E,"E")<<std::endl;
   igl::sortrows(Eigen::MatrixXi(E),true,E);
   test_common::assert_eq(Egt,E);
 }

+ 1 - 2
tests/include/igl/path_to_edges.cpp

@@ -24,7 +24,6 @@ TEST_CASE("igl_path_to_edges: loop_test", "[igl]")
   Eigen::MatrixXi Eactual;
   const bool make_loop = true;
   igl::path_to_edges(I, Eactual, make_loop);
-  std::cout << Eactual << std::endl;
   test_common::assert_eq(Eactual, Eexpected);
 }
 
@@ -50,4 +49,4 @@ TEST_CASE("igl_path_to_edges: vector_loop_test", "[igl]")
   igl::path_to_edges(I, Eactual, make_loop);
 
   test_common::assert_eq(Eactual, Eexpected);
-}
+}

+ 0 - 9
tests/include/igl/readOBJ.cpp

@@ -28,14 +28,5 @@ TEST_CASE("readOBJ: Obj with material", "[igl]")
 
     REQUIRE (V.size() == 8);
     REQUIRE (F.size() == 6);
-    for ( const auto& i : FM ) {
-        std::cout << "material ";
-        std::cout << std::get<0>(i) << ' ';
-        std::cout << "fstart ";
-        std::cout << std::get<1>(i) << ' ';
-        std::cout << "fend ";
-        std::cout << std::get<2>(i) << ' ';
-        std::cout << std::endl;
-    }
     REQUIRE (FM.size() == 2);
 }