summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-08 15:52:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-08 15:55:46 +0200
commitd3ce646545c77612035adabb57ecd4e03d3950fa (patch)
tree9f7857561962ec20ff27b3404292eff88acce184 /test
parentec5555d7dcd5fe9f53cf2f2e462bf0506f40625b (diff)
move temporary tests to be executed first
Diffstat (limited to 'test')
-rw-r--r--test/app.cpp2
-rw-r--r--test/app.hpp2
-rw-r--r--test/zzz_test_misc.cpp6
3 files changed, 6 insertions, 4 deletions
diff --git a/test/app.cpp b/test/app.cpp
index 91fd7b7c..b6b032eb 100644
--- a/test/app.cpp
+++ b/test/app.cpp
@@ -55,6 +55,7 @@ int App::exec()
StringView name;
void(*function)();
} list[] = {
+ FM_TEST(test_local),
// fast
FM_TEST(test_magnum_math),
FM_TEST(test_math),
@@ -65,7 +66,6 @@ int App::exec()
FM_TEST(test_entity),
FM_TEST(test_hash),
// normal
- FM_TEST(test_zzz_misc),
FM_TEST(test_bitmask),
FM_TEST(test_json),
FM_TEST(test_json2),
diff --git a/test/app.hpp b/test/app.hpp
index 7e2381bc..fff5a5fa 100644
--- a/test/app.hpp
+++ b/test/app.hpp
@@ -31,6 +31,7 @@ void test_json3();
void test_loader();
void test_loader2();
void test_loader3();
+void test_local();
void test_magnum_math();
void test_math();
void test_raycast();
@@ -40,6 +41,5 @@ void test_saves();
void test_script();
void test_wall_atlas();
void test_wall_atlas2();
-void test_zzz_misc();
} // namespace floormat::Test
diff --git a/test/zzz_test_misc.cpp b/test/zzz_test_misc.cpp
index 22e0f2fc..b9b7cf2d 100644
--- a/test/zzz_test_misc.cpp
+++ b/test/zzz_test_misc.cpp
@@ -5,11 +5,13 @@ namespace floormat {
namespace {
// tests go here
-void test_foo() {}
+void test_foo()
+{
+}
} // namespace
-void Test::test_zzz_misc()
+void Test::test_local()
{
test_foo();
}