Skip to content

Commit 49f55fa

Browse files
committed
[2024] Day 17 remove B test case
1 parent 83de3b2 commit 49f55fa

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

aoc_2024/src/day_17.rs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn part_a(input: &str) -> Answer {
2020
.into()
2121
}
2222

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

273-
const CASE_B: &str = indoc! {"
274-
Register A: 2024
275-
Register B: 0
276-
Register C: 0
277-
278-
Program: 0,3,5,4,3,0
279-
"};
280-
281273
#[test]
282274
fn part_a() {
283275
assert_eq!(super::part_a(CASE_A), "4,6,3,5,6,3,5,2,1,0".into());
284276
}
285-
286-
#[test]
287-
fn part_b() {
288-
assert_eq!(super::part_b(CASE_B), 117_440.into());
289-
}
290277
}

0 commit comments

Comments
 (0)