From f0fd87aaf77bbcb41d3fb62e1854a1587be4fc19 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 17 Dec 2021 11:47:33 -0600 Subject: [PATCH] Fix test --- 2021/rust/day17.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2021/rust/day17.rs b/2021/rust/day17.rs index 459b63b..1ace5cc 100644 --- a/2021/rust/day17.rs +++ b/2021/rust/day17.rs @@ -92,6 +92,6 @@ mod tests { #[test] fn packet_op_result_examples() { let tester = |s: &str| trick_shot(&parse_target_rect(s)); - assert_eq!(tester("target area: x=20..30, y=-10..-5").unwrap(), 45); + assert_eq!(tester("target area: x=20..30, y=-10..-5"), (Some(45), 112)); } }