readMESH.cpp 408 B

12345678910111213
  1. #include <iostream>
  2. #include <test_common.h>
  3. TEST(readMESH, simple) {
  4. Eigen::MatrixXd V, TC;
  5. Eigen::MatrixXi F;
  6. // wait... so this is actually testing test_common::load_mesh not readMESH
  7. // directly...
  8. // test_common::load_mesh("F0001_AN01WH_F3D.wrl", V, F, TC);
  9. test_common::load_mesh("000.wrl", V, F, TC);
  10. printf("%d\n", V.rows());
  11. ASSERT_EQ(36678, V.rows());
  12. // ASSERT_EQ(, F.rows());
  13. }