From 00000090a2f0dc7af9968ff259d71bff9d71e9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Fri, 6 Dec 2024 07:20:18 +0100 Subject: [PATCH] fix: add test values for day 2 --- src/bin/02.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/02.rs b/src/bin/02.rs index 7862d9f..8daac4f 100644 --- a/src/bin/02.rs +++ b/src/bin/02.rs @@ -72,10 +72,10 @@ mod tests { use super::*; #[test] fn test_part_one() { - assert_eq!(part_one(&aoc::template::read_file("examples", 2)), None); + assert_eq!(part_one(&aoc::template::read_file("examples", 2)), Some(2)); } #[test] fn test_part_two() { - assert_eq!(part_two(&aoc::template::read_file("examples", 2)), None); + assert_eq!(part_two(&aoc::template::read_file("examples", 2)), Some(4)); } }