diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-09 10:06:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-09 10:06:54 +0200 |
commit | dd00820933be56fbe3ef2b296a5b59b7f78316ca (patch) | |
tree | b61d37edc8257cf82e26b23b71d57287c8545979 /test/main.cpp | |
parent | 4b6e676db5b6e034900adb39510e7b36560e96ad (diff) |
a
Diffstat (limited to 'test/main.cpp')
-rw-r--r-- | test/main.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/test/main.cpp b/test/main.cpp deleted file mode 100644 index af64dfec..00000000 --- a/test/main.cpp +++ /dev/null @@ -1,58 +0,0 @@ -#include "app.hpp" -#include "compat/assert.hpp" -#include "loader/loader.hpp" -#include <stdlib.h> -#include <cstdlib> - -namespace floormat { - -test_app::test_app(const Arguments& arguments): - Application { - arguments, - Configuration{} - } -{ -} - -test_app::~test_app() -{ - loader_::destroy(); -} - -int test_app::exec() -{ - test_json(); - test_tile_iter(); - test_magnum_math(); - test_entity(); - test_loader(); - test_bitmask(); - test_serializer_1(); - test_serializer_2(); - test_path_search(); - test_math(); - test_hash(); - test_path_search_node_pool(); - test_coords(); - - test_dijkstra(); - - zzz_test_misc(); - - return 0; -} - -} // namespace floormat - -int main(int argc, char** argv) -{ -#ifdef _WIN32 - // NOLINTNEXTLINE(concurrency-mt-unsafe) - if (const auto* s = std::getenv("MAGNUM_LOG"); !s || !*s) - _putenv("MAGNUM_LOG=quiet"); -#else - setenv("MAGNUM_LOG", "quiet", 0); -#endif - floormat::test_app application{{argc, argv}}; - return application.exec(); -} |