You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
399 B
14 lines
399 B
#include <test_common.h>
|
|
|
|
TEST_CASE("readOFF: simple", "[igl]")
|
|
{
|
|
Eigen::MatrixXd V;
|
|
Eigen::MatrixXi F;
|
|
// wait... so this is actually testing test_common::load_mesh not readOFF
|
|
// directly...
|
|
igl::read_triangle_mesh(test_common::data_path("cube.off"), V, F);
|
|
REQUIRE (V.rows() == 8);
|
|
REQUIRE (V.cols() == 3);
|
|
REQUIRE (F.rows() == 12);
|
|
REQUIRE (F.cols() == 3);
|
|
}
|
|
|