#include #include #include class per_face_normals : public ::testing::TestWithParam {}; TEST_P(per_face_normals, dot) { Eigen::MatrixXd V,N; Eigen::MatrixXi F; // Load example mesh: GetParam() will be name of mesh file test_common::load_mesh(GetParam(), V, F); igl::per_face_normals(V,F,N); ASSERT_EQ(F.rows(),N.rows()); for(int f = 0;f