From 57216e6c0bffab1a9754fef1d64cc405e1976ede Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Mon, 12 Dec 2022 10:20:19 +0100 Subject: [PATCH] Add missing test values in Rust Day 8/9 --- rust/src/day08/part_2.rs | 2 +- rust/src/day09/part_1.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/src/day08/part_2.rs b/rust/src/day08/part_2.rs index 54b173a..1ed330d 100644 --- a/rust/src/day08/part_2.rs +++ b/rust/src/day08/part_2.rs @@ -44,7 +44,7 @@ mod tests { #[test] fn test_with_solution() { - assert_eq!(super::part_2(crate::INPUT), 0); + assert_eq!(super::part_2(crate::INPUT), 313200); } #[test] diff --git a/rust/src/day09/part_1.rs b/rust/src/day09/part_1.rs index 2689923..e867421 100644 --- a/rust/src/day09/part_1.rs +++ b/rust/src/day09/part_1.rs @@ -45,7 +45,7 @@ mod tests { #[test] fn test_with_solution() { - assert_eq!(super::part_1(&crate::parse_input(crate::INPUT)), 0); + assert_eq!(super::part_1(&crate::parse_input(crate::INPUT)), 6271); } #[test]