From 08a9c733c13ba09cfa050b7922ac8ac1ec1e63f5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Dec 2022 03:50:49 -0500 Subject: tests --- src/2022/10/mod.rs | 2 +- src/2022/9/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/2022/10/mod.rs b/src/2022/10/mod.rs index 126a370..f582cf4 100644 --- a/src/2022/10/mod.rs +++ b/src/2022/10/mod.rs @@ -84,7 +84,7 @@ pub fn part2(ops: impl Iterator) -> Result { fn test() { assert_eq!( part1(parse(parse::data(2022, 10).unwrap()).unwrap()).unwrap(), - 0 + 15680 ); assert_eq!( part2(parse(parse::data(2022, 10).unwrap()).unwrap()).unwrap(), diff --git a/src/2022/9/mod.rs b/src/2022/9/mod.rs index b4f5f0a..f075224 100644 --- a/src/2022/9/mod.rs +++ b/src/2022/9/mod.rs @@ -231,10 +231,10 @@ pub fn part2(moves: impl Iterator) -> Result { fn test() { assert_eq!( part1(parse(parse::data(2022, 9).unwrap()).unwrap()).unwrap(), - 0 + 6037 ); assert_eq!( part2(parse(parse::data(2022, 9).unwrap()).unwrap()).unwrap(), - 0 + 2485 ); } -- cgit v1.2.3-54-g00ecf