diff options
Diffstat (limited to 'tests/pke-test-dummy.cpp')
| -rw-r--r-- | tests/pke-test-dummy.cpp | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/tests/pke-test-dummy.cpp b/tests/pke-test-dummy.cpp index a7e2ddc..0caa865 100644 --- a/tests/pke-test-dummy.cpp +++ b/tests/pke-test-dummy.cpp @@ -1,18 +1,55 @@ #include "./pke-test-dummy.h" +#include "asset-manager.hpp" +#include "camera.hpp" +#include "ecs.hpp" +#include "physics.hpp" +#include "scene.hpp" +#include "static-ui.hpp" +#include "thread-pool.hpp" + int pke_test_dummy_001() { + Physics_Init(); + PkeThreads_Init(); + AM_Init(); + ECS_Init(); + pke_ui_init(); + PkeCamera_Init(); + FontType_Init(); + pke_scene_master_init(); + /* do thing */ + /* + { + AssetHandle h = AM_GetHandle(AssetKey {"fnt_mquin_gly"}); + AM_Get(h); + AM_Release(h); + } + */ + pke_scene_master_teardown(); + FontType_Teardown(); + PkeCamera_Teardown(); + pke_ui_teardown(); + ECS_Teardown(); + AM_Teardown(); + PkeThreads_Teardown(); + Physics_Teardown(); return 0; } struct pke_test_group *pke_test_dummy_get_group() { - static const uint64_t test_count = 1; + static const uint64_t test_count = 2; static struct pke_test tests[test_count] = { { .title = "test 001", .func = pke_test_dummy_001, .expected_result = 0, - } + }, + { + .title = "test 002", + .func = pke_test_dummy_001, + .expected_result = 0, + }, }; static struct pke_test_group group = {}; group.title = "dummy test"; |
