summaryrefslogtreecommitdiff
path: root/src/tests/test_sequence.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-31 21:11:11 +0100
committerskal <pascal.massimino@gmail.com>2026-01-31 21:11:11 +0100
commit25e693cc46324b4ec588530de542bba8af6f47c6 (patch)
tree8a959e442f9330dd3f881fe4109e83b831f25a7e /src/tests/test_sequence.cc
parent9379697ccdf6f44ade7933d5635f72f644f6b92e (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.cc16
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