#pragma once #include "src/world.hpp" #include #ifdef __APPLE__ #include #define FM_APPLICATION Platform::WindowlessCglApplication #elif defined _WIN32 #include #define FM_APPLICATION Platform::WindowlessWglApplication #else #include #define FM_APPLICATION Platform::WindowlessGlxApplication #endif namespace floormat { struct chunk; struct test_app final : private FM_APPLICATION { using Application = FM_APPLICATION; explicit test_app(const Arguments& arguments); ~test_app(); int exec() override; chunk& make_test_chunk(chunk_coords ch); static void test_json(); static void test_tile_iter(); static void test_const_math(); void test_serializer(); static void test_entity(); static void test_loader(); static void test_bitmask(); world w; }; } // namespace floormat