diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 10:50:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 10:50:09 +0100 |
commit | 9ee762d7171b65d92fa937c4dcb2cef1ff88ed6c (patch) | |
tree | 0663dd401a4b3143858a0455df578d4afd21afd5 /editor/tests.cpp | |
parent | 1ab99adea0500e6e443b8cbbc20bbc4aa60f5a5f (diff) |
loosen up test count assert
Diffstat (limited to 'editor/tests.cpp')
-rw-r--r-- | editor/tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/tests.cpp b/editor/tests.cpp index 819efe72..d55da0c8 100644 --- a/editor/tests.cpp +++ b/editor/tests.cpp @@ -20,7 +20,7 @@ namespace floormat::tests { -static_assert(arraySize(tests_data::fields) == (size_t)Test::COUNT); +static_assert(arraySize(tests_data::fields) <= (size_t)Test::COUNT); Pointer<base_test> tests_data::make_test_none() { return {}; } |