Skip to content

Commit

Permalink
[2024] Day 17 remove B test case
Browse files Browse the repository at this point in the history
  • Loading branch information
connorslade committed Dec 18, 2024
1 parent 83de3b2 commit 49f55fa
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions aoc_2024/src/day_17.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn part_a(input: &str) -> Answer {
.into()
}

fn part_b(input: &str) -> Answer {
fn part_b(_input: &str) -> Answer {
// {
// let mut processor = processor.clone();
// *processor.reg_mut(0) = 1234;
Expand Down Expand Up @@ -270,21 +270,8 @@ mod test {
Program: 0,1,5,4,3,0
"};

const CASE_B: &str = indoc! {"
Register A: 2024
Register B: 0
Register C: 0
Program: 0,3,5,4,3,0
"};

#[test]
fn part_a() {
assert_eq!(super::part_a(CASE_A), "4,6,3,5,6,3,5,2,1,0".into());
}

#[test]
fn part_b() {
assert_eq!(super::part_b(CASE_B), 117_440.into());
}
}

0 comments on commit 49f55fa

Please sign in to comment.