Added AC-loader, WIP version. PLY loader is now able to load models from blender, test model added. Refactoring. Added FindInvalidData step. Added support for precompiled headers, the release builds in VC8 are configued to use PCH now. Added separate makefile for mingw, no -FPic warning anymore, -clear works now. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@176 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
39 lines
778 B
C++
39 lines
778 B
C++
#ifndef TESTNORMALS_H
|
|
#define TESTNORMALS_H
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
#include <aiTypes.h>
|
|
#include <aiScene.h>
|
|
#include <FindInvalidDataProcess.h>
|
|
|
|
|
|
using namespace std;
|
|
using namespace Assimp;
|
|
|
|
class FindInvalidDataProcessTest : public CPPUNIT_NS :: TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (FindInvalidDataProcessTest);
|
|
CPPUNIT_TEST (testStepNegativeResult);
|
|
CPPUNIT_TEST (testStepPositiveResult);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void setUp (void);
|
|
void tearDown (void);
|
|
|
|
protected:
|
|
|
|
void testStepPositiveResult (void);
|
|
void testStepNegativeResult (void);
|
|
|
|
private:
|
|
|
|
|
|
aiMesh* pcMesh;
|
|
FindInvalidDataProcess* piProcess;
|
|
};
|
|
|
|
#endif
|