Skip to content

Commit

Permalink
Disable day 8 brute force tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alextopher committed Dec 13, 2023
1 parent 68515cc commit e679b21
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions y23/d08-brute-forced/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,21 +202,21 @@ fn main() {
mod tests {
use super::*;

#[test]
fn test_example_part2() {
let input = "LR\n\n11A = (11B, XXX)\n11B = (XXX, 11Z)\n11Z = (11B, XXX)\n22A = (22B, XXX)\n22B = (22C, 22C)\n22C = (22Z, 22Z)\n22Z = (22B, 22B)\nXXX = (XXX, XXX)";
let (directions, map) = parse(input);

assert_eq!(part2(&directions, &map), 6);
}

#[test]
fn verify() {
let input = input_str!(2023, 8);
let (directions, map) = parse(input);

assert_eq!(part1(&directions, &map), 20659);
assert_eq!(part2(&directions, &map), 15690466351717);
part1_new(&directions, &map);
}
// #[test]
// fn test_example_part2() {
// let input = "LR\n\n11A = (11B, XXX)\n11B = (XXX, 11Z)\n11Z = (11B, XXX)\n22A = (22B, XXX)\n22B = (22C, 22C)\n22C = (22Z, 22Z)\n22Z = (22B, 22B)\nXXX = (XXX, XXX)";
// let (directions, map) = parse(input);

// assert_eq!(part2(&directions, &map), 6);
// }

// #[test]
// fn verify() {
// let input = input_str!(2023, 8);
// let (directions, map) = parse(input);

// assert_eq!(part1(&directions, &map), 20659);
// assert_eq!(part2(&directions, &map), 15690466351717);
// part1_new(&directions, &map);
// }
}

0 comments on commit e679b21

Please sign in to comment.