Skip to content

Commit

Permalink
Make day 21 tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Riari committed Dec 23, 2023
1 parent b1df903 commit 8dd229f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/21.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ mod tests {
#[test]
fn test_part_one() {
let result = part_one(&advent_of_code::template::read_file("examples", DAY));
assert_eq!(result, Some(16));
assert_eq!(result, Some(42));
}

#[test]
fn test_part_two() {
let result = part_two(&advent_of_code::template::read_file("examples", DAY));
assert_eq!(result, None);
assert_eq!(result, Some(470149860542205));
}
}

0 comments on commit 8dd229f

Please sign in to comment.