summaryrefslogtreecommitdiffhomepage
path: root/test/main.cpp
blob: 305c4926f5c1b1215bfab0332ae1489d9ed2caa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "app.hpp"
#include "compat/assert.hpp"
#include "loader/loader.hpp"

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_const_math();
    test_serializer();
    test_entity();
    test_loader();
    test_bbox();
    test_quadtree();
    return 0;
}

} // namespace floormat

int main(int argc, char** argv)
{
    floormat::test_app application{{argc, argv}};
    return application.exec();
}