assimp/test/unit/utSplitLargeMeshes.h

42 lines
835 B
C++

#ifndef TESTLM_H
#define TESTLM_H
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include <types.h>
#include <mesh.h>
#include <scene.h>
#include <SplitLargeMeshes.h>
using namespace std;
using namespace Assimp;
class SplitLargeMeshesTest : public CPPUNIT_NS :: TestFixture
{
CPPUNIT_TEST_SUITE (SplitLargeMeshesTest);
CPPUNIT_TEST (testVertexSplit);
CPPUNIT_TEST (testTriangleSplit);
CPPUNIT_TEST_SUITE_END ();
public:
void setUp (void);
void tearDown (void);
protected:
void testVertexSplit (void);
void testTriangleSplit (void);
private:
SplitLargeMeshesProcess_Triangle* piProcessTriangle;
SplitLargeMeshesProcess_Vertex* piProcessVertex;
aiMesh* pcMesh1;
aiMesh* pcMesh2;
};
#endif