2 #include <gtest/gtest.h> 3 #include <Unittests/unittests_common.hh> 4 #include <OpenMesh/Tools/Utils/StripifierT.hh> 13 virtual void SetUp() {
19 virtual void TearDown() {
36 TEST_F(OpenMeshStripify, Stripify) {
44 size_t strips = stripifier.stripify();
46 EXPECT_EQ(1269u, strips) <<
"The number of computed strips is not correct!";
47 EXPECT_TRUE(stripifier.is_valid()) <<
"Strips not computed!";
bool read_mesh(Mesh &_mesh, const std::string &_filename)
Read a mesh from file _filename.