Added unit test

This commit is contained in:
Mrrp 2024-12-21 11:41:41 -08:00
parent f4dc969f8f
commit 18f5b07c29

View file

@ -86,3 +86,13 @@ pub fn run() {
println!("Total distance between the lists in Day 01: {}", total_distance); println!("Total distance between the lists in Day 01: {}", total_distance);
} }
#[cfg(test)]
mod day_01_tests {
use super::*;
#[test]
fn test_day_01() {
run();
}
}