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)); } }