From 2b5ae9dd435758aa6af7f19f83191b9c6601d636 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 11 Dec 2023 00:33:41 -0500 Subject: fix tests --- src/bin/2023/day10.rs | 2 +- src/bin/2023/day8.rs | 2 +- src/bin/2023/day9.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin') diff --git a/src/bin/2023/day10.rs b/src/bin/2023/day10.rs index 07e9741..68a66a8 100644 --- a/src/bin/2023/day10.rs +++ b/src/bin/2023/day10.rs @@ -185,6 +185,6 @@ fn test() { ); assert_eq!( part2(parse(parse::data(2023, 10).unwrap()).unwrap()).unwrap(), - 0 + 317 ); } diff --git a/src/bin/2023/day8.rs b/src/bin/2023/day8.rs index a71c4ed..5137659 100644 --- a/src/bin/2023/day8.rs +++ b/src/bin/2023/day8.rs @@ -133,6 +133,6 @@ fn test() { ); assert_eq!( part2(parse(parse::data(2023, 8).unwrap()).unwrap()).unwrap(), - 0 + 13740108158591 ); } diff --git a/src/bin/2023/day9.rs b/src/bin/2023/day9.rs index d04c209..9f5ed85 100644 --- a/src/bin/2023/day9.rs +++ b/src/bin/2023/day9.rs @@ -40,10 +40,10 @@ pub fn part2(report: Vec>) -> Result { fn test() { assert_eq!( part1(parse(parse::data(2023, 9).unwrap()).unwrap()).unwrap(), - 0 + 1861775706 ); assert_eq!( part2(parse(parse::data(2023, 9).unwrap()).unwrap()).unwrap(), - 0 + 1082 ); } -- cgit v1.2.3-54-g00ecf