diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 21:11:11 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 21:11:11 +0100 |
| commit | 25e693cc46324b4ec588530de542bba8af6f47c6 (patch) | |
| tree | 8a959e442f9330dd3f881fe4109e83b831f25a7e /src/tests/test_sequence.cc | |
| parent | 9379697ccdf6f44ade7933d5635f72f644f6b92e (diff) | |
style: add vertical compression rules to clang-format
- Enabled AllowShortFunctionsOnASingleLine: All
- Enabled AllowShortBlocksOnASingleLine: Always
- Enabled AllowShortIfStatementsOnASingleLine: Always
- Enabled AllowShortLoopsOnASingleLine: true
- Set MaxEmptyLinesToKeep: 1
- Applied formatting to all source files.
Diffstat (limited to 'src/tests/test_sequence.cc')
| -rw-r--r-- | src/tests/test_sequence.cc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/tests/test_sequence.cc b/src/tests/test_sequence.cc index db66b8a..363846b 100644 --- a/src/tests/test_sequence.cc +++ b/src/tests/test_sequence.cc @@ -26,16 +26,13 @@ public: int end_calls = 0; bool is_pp = false; - DummyEffect(bool post_process = false) : is_pp(post_process) { - } + DummyEffect(bool post_process = false) : is_pp(post_process) {} void init(MainSequence *demo) override { init_calls++; (void)demo; } - void start() override { - start_calls++; - } + void start() override { start_calls++; } void render(WGPURenderPassEncoder pass, float time, float beat, float intensity, float aspect_ratio) override { render_calls++; @@ -53,12 +50,8 @@ public: (void)intensity; (void)aspect_ratio; } - void end() override { - end_calls++; - } - bool is_post_process() const override { - return is_pp; - } + void end() override { end_calls++; } + bool is_post_process() const override { return is_pp; } }; // --- Dummy PostProcessEffect for Tracking (unused in simplified tests) --- @@ -169,7 +162,6 @@ void test_simulate_until() { } int main() { - printf("Running Sequence/Effect System tests...\n"); // TODO: Re-enable and fix test_effect_lifecycle once GPU resource mocking is |
