#include #include #include TEST_CASE("per_face_normals: dot", "[igl]" "[slow]") { const auto test_case = [](const std::string ¶m) { Eigen::MatrixXd V,N; Eigen::MatrixXi F; // Load example mesh: GetParam() will be name of mesh file igl::read_triangle_mesh(test_common::data_path(param), V, F); igl::per_face_normals(V,F,N); REQUIRE (N.rows() == F.rows()); for(int f = 0;f a); }; test_common::run_test_cases(test_common::all_meshes(), test_case); }