This commit is contained in:
Daniel Flanagan 2021-12-17 11:47:33 -06:00
parent 7bba4718c0
commit f0fd87aaf7
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -92,6 +92,6 @@ mod tests {
#[test] #[test]
fn packet_op_result_examples() { fn packet_op_result_examples() {
let tester = |s: &str| trick_shot(&parse_target_rect(s)); 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));
} }
} }