test: add cases for input.txt

This commit is contained in:
theoludwig committed 2023-12-08 18:56:07 +01:00
1 parent 97c302d9e1
commit 755e211f3f
10 files changed
+61 -56

No files matched your search

+10
View File
@@ -76,4 +76,14 @@ mod day_1_tests {
fn test_part_2_example() {
assert_eq!(part_2(include_str!("../input_example_2.txt")), 281);
}
#[test]
fn test_part_1() {
assert_eq!(part_1(include_str!("../input.txt")), 55130);
}
#[test]
fn test_part_2() {
assert_eq!(part_2(include_str!("../input.txt")), 54985);
}
}