Skip to content

Commit

Permalink
puzzles/tests: Add tests for day 7 challenge
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Gerth <[email protected]>
  • Loading branch information
jimgerth committed Jan 3, 2021
1 parent ec684b2 commit c59bcee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/puzzles/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ fn day_6() {
assert_eq!(super::day_6::part_2(), 3103);
}

#[test]
fn day_7() {
assert_eq!(super::day_7::part_1(), 119);
assert_eq!(super::day_7::part_2(), 155802);
}

#[test]
fn day_8() {
assert_eq!(super::day_8::part_1(), 1134);
Expand Down

0 comments on commit c59bcee

Please sign in to comment.