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.
 
 
 
 
 
 

40 lines
764 B

  1. #ifndef TESTLM_H
  2. #define TESTLM_H
  3. #include <cppunit/TestFixture.h>
  4. #include <cppunit/extensions/HelperMacros.h>
  5. #include <assimp/scene.h>
  6. #include <SplitLargeMeshes.h>
  7. using namespace std;
  8. using namespace Assimp;
  9. class SplitLargeMeshesTest : public CPPUNIT_NS :: TestFixture
  10. {
  11. CPPUNIT_TEST_SUITE (SplitLargeMeshesTest);
  12. CPPUNIT_TEST (testVertexSplit);
  13. CPPUNIT_TEST (testTriangleSplit);
  14. CPPUNIT_TEST_SUITE_END ();
  15. public:
  16. void setUp (void);
  17. void tearDown (void);
  18. protected:
  19. void testVertexSplit (void);
  20. void testTriangleSplit (void);
  21. private:
  22. SplitLargeMeshesProcess_Triangle* piProcessTriangle;
  23. SplitLargeMeshesProcess_Vertex* piProcessVertex;
  24. aiMesh* pcMesh1;
  25. aiMesh* pcMesh2;
  26. };
  27. #endif