Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

42 rindas
805 B

  1. #ifndef VTADJ_H
  2. #define VTADJ_H
  3. #include <cppunit/TestFixture.h>
  4. #include <cppunit/extensions/HelperMacros.h>
  5. #include "assimp/types.h"
  6. #include "assimp/mesh.h"
  7. #include <VertexTriangleAdjacency.h>
  8. using namespace std;
  9. using namespace Assimp;
  10. class VTAdjacency : public CPPUNIT_NS :: TestFixture
  11. {
  12. CPPUNIT_TEST_SUITE (VTAdjacency);
  13. CPPUNIT_TEST (largeRandomDataSet);
  14. CPPUNIT_TEST (smallDataSet);
  15. CPPUNIT_TEST (unreferencedVerticesSet);
  16. CPPUNIT_TEST_SUITE_END ();
  17. public:
  18. void setUp (void);
  19. void tearDown (void);
  20. protected:
  21. void largeRandomDataSet (void);
  22. void smallDataSet (void);
  23. void unreferencedVerticesSet (void);
  24. void checkMesh(aiMesh* pMesh);
  25. private:
  26. VertexTriangleAdjacency* pAdj;
  27. aiMesh* pMesh, *pMesh2, *pMesh3;
  28. };
  29. #endif