2008-09-30 20:20:56 +00:00
|
|
|
#ifndef TESTNORMALS_H
|
|
|
|
#define TESTNORMALS_H
|
|
|
|
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
|
2012-02-03 17:04:06 +00:00
|
|
|
#include <types.h>
|
|
|
|
#include <mesh.h>
|
|
|
|
#include <scene.h>
|
2008-09-30 20:20:56 +00:00
|
|
|
#include <TriangulateProcess.h>
|
|
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
using namespace Assimp;
|
|
|
|
|
|
|
|
class TriangulateProcessTest : public CPPUNIT_NS :: TestFixture
|
|
|
|
{
|
|
|
|
CPPUNIT_TEST_SUITE (TriangulateProcessTest);
|
|
|
|
CPPUNIT_TEST (testTriangulation);
|
|
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
|
|
|
|
public:
|
|
|
|
void setUp (void);
|
|
|
|
void tearDown (void);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
void testTriangulation (void);
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
aiMesh* pcMesh;
|
|
|
|
TriangulateProcess* piProcess;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|