From 25e693cc46324b4ec588530de542bba8af6f47c6 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 21:11:11 +0100 Subject: 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. --- src/tests/test_sequence.cc | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/tests/test_sequence.cc') 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 -- cgit v1.2.3