added files for Quadtree class and unit test file

This commit is contained in:
Erik Broberg
2016-04-04 15:16:47 -04:00
parent 972af8b5f3
commit d414003424
5 changed files with 130 additions and 6 deletions

View File

@@ -32,7 +32,8 @@
#include <test_common.inl>
//#include <test_spicemanager.inl>
#include <test_scenegraphloader.inl>
//#include <test_scenegraphloader.inl>
#include <test_quadtree.inl>
//#include <test_luaconversions.inl>
//#include <test_powerscalecoordinates.inl>
#include <openspace/engine/openspaceengine.h>
@@ -48,13 +49,19 @@ using namespace ghoul::filesystem;
using namespace ghoul::logging;
namespace {
std::string _loggerCat = "OpenSpaceTest";
std::string _loggerCat = "OpenSpaceTest";
}
int main(int argc, char** argv) {
std::vector<std::string> args;
openspace::OpenSpaceEngine::create(argc, argv, std::make_unique<openspace::WindowWrapper>(), args);
std::vector<std::string> args;
openspace::OpenSpaceEngine::create(argc, argv, std::make_unique<openspace::WindowWrapper>(), args);
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
testing::InitGoogleTest(&argc, argv);
int returnVal = RUN_ALL_TESTS();
// keep console from closing down
int dummy; std::cin >> dummy;
return returnVal;
}