diff options
| author | Marijn Tamis <[email protected]> | 2018-09-12 14:12:47 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2018-09-12 14:12:47 +0200 |
| commit | 7bceea80d4a04649f495f4f4331d7e3bdcdb05ca (patch) | |
| tree | 824767cccf7b516a8c0b32467c6314eaa802f58d /NvCloth/samples/external/assimp-4.1.0/test/unit/Main.cpp | |
| parent | Added missing GenerateProjectsIOS.sh file (diff) | |
| download | archived-nvcloth-7bceea80d4a04649f495f4f4331d7e3bdcdb05ca.tar.xz archived-nvcloth-7bceea80d4a04649f495f4f4331d7e3bdcdb05ca.zip | |
1.1.5 Release (24934621)
Diffstat (limited to 'NvCloth/samples/external/assimp-4.1.0/test/unit/Main.cpp')
| -rw-r--r-- | NvCloth/samples/external/assimp-4.1.0/test/unit/Main.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/NvCloth/samples/external/assimp-4.1.0/test/unit/Main.cpp b/NvCloth/samples/external/assimp-4.1.0/test/unit/Main.cpp deleted file mode 100644 index 5ba5c48..0000000 --- a/NvCloth/samples/external/assimp-4.1.0/test/unit/Main.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "UnitTestPCH.h" -#include "../../include/assimp/DefaultLogger.hpp" - -#include <math.h> -#include <time.h> - -int main(int argc, char* argv[]) -{ - ::testing::InitGoogleTest(&argc, argv); - - // seed the randomizer with the current system time - time_t t;time(&t); - srand((unsigned int)t); - - // ............................................................................ - - // create a logger from both CPP - Assimp::DefaultLogger::create("AssimpLog_Cpp.txt",Assimp::Logger::VERBOSE, - aiDefaultLogStream_DEBUGGER | aiDefaultLogStream_FILE); - - // .. and C. They should smoothly work together - aiEnableVerboseLogging(AI_TRUE); - aiLogStream logstream= aiGetPredefinedLogStream(aiDefaultLogStream_FILE, "AssimpLog_C.txt"); - aiAttachLogStream(&logstream); - - int result = RUN_ALL_TESTS(); - - // ............................................................................ - // but shutdown must be done from C to ensure proper deallocation - aiDetachAllLogStreams(); - - return result; -} |