score+test, Tests for a42853a & test_utils mod

Tests for all the core functionality implemented to score in a42853a.

Optimistically adding a test_utils mod for shared test code
This commit is contained in:
Julia Lange 2026-02-05 12:36:28 -08:00
parent 6702f976cb
commit eb21bf0d51
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
3 changed files with 211 additions and 0 deletions

11
koucha/src/test_utils.rs Normal file
View file

@ -0,0 +1,11 @@
#![cfg(test)]
use chrono::{
Utc,
TimeZone,
DateTime
};
pub fn get_datetime() -> DateTime<Utc> {
Utc.with_ymd_and_hms(2020,1,1,0,0,0).unwrap()
}