1
1
mirror of https://github.com/theoludwig/advent_of_code.git synced 2025-05-18 19:27:51 +02:00

test: add cases for input.txt

This commit is contained in:
2023-12-08 18:56:07 +01:00
parent 97c302d9e1
commit 755e211f3f
10 changed files with 61 additions and 56 deletions

View File

@ -160,4 +160,14 @@ mod day_4_tests {
fn test_part_2_example() {
assert_eq!(part_2(include_str!("../input_example_1.txt")), 30);
}
#[test]
fn test_part_1() {
assert_eq!(part_1(include_str!("../input.txt")), 24160);
}
#[test]
fn test_part_2() {
assert_eq!(part_2(include_str!("../input.txt")), 5659035);
}
}