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.
 
 
 
 
 
 

39 lines
800 B

  1. #ifndef TESTRRM_H
  2. #define TESTRRM_H
  3. #include <cppunit/TestFixture.h>
  4. #include <cppunit/extensions/HelperMacros.h>
  5. #include <assimp/scene.h>
  6. #include <RemoveRedundantMaterials.h>
  7. #include <MaterialSystem.h>
  8. using namespace std;
  9. using namespace Assimp;
  10. class RemoveRedundantMatsTest : public CPPUNIT_NS :: TestFixture
  11. {
  12. CPPUNIT_TEST_SUITE (RemoveRedundantMatsTest);
  13. CPPUNIT_TEST (testRedundantMaterials);
  14. CPPUNIT_TEST (testRedundantMaterialsWithExcludeList);
  15. CPPUNIT_TEST_SUITE_END ();
  16. public:
  17. void setUp (void);
  18. void tearDown (void);
  19. protected:
  20. void testRedundantMaterials (void);
  21. void testRedundantMaterialsWithExcludeList (void);
  22. private:
  23. RemoveRedundantMatsProcess* piProcess;
  24. aiScene* pcScene1;
  25. aiScene* pcScene2;
  26. };
  27. #endif