test(wrapup): unit tests for stats computation

This commit is contained in:
2026-06-02 21:46:51 +02:00
parent 8c31a2b829
commit 8fec989dc6
2 changed files with 162 additions and 0 deletions

View File

@@ -451,3 +451,7 @@ fn compute_global_stats(
(most_active_user, most_watched, total_users_active)
}
#[cfg(test)]
#[path = "tests/compute.rs"]
mod tests;