summaryrefslogtreecommitdiffhomepage
path: root/test/main.cpp
blob: f09768a9f034907c0b611d32754de669d8b6d215 (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
#include "app.hpp"
#include "loader.hpp"

namespace floormat {

floormat::floormat(const Arguments& arguments):
      Platform::WindowlessWglApplication{
          arguments,
          Configuration{}
      }
{
}

floormat::~floormat()
{
    loader_::destroy();
}

int floormat::exec()
{
    bool ret = true;
    ret &= test_json();
    ret &= test_tile_iter();
    ret &= test_const_math();
    ret &= test_serializer();
    return !ret;
}

} // namespace floormat

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