day1: std input name, refactor jl
This commit is contained in:
@@ -46,13 +46,13 @@ where P: AsRef<Path>, {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
aoc_day1("day1input.txt", 1);
|
||||
aoc_day1("input.txt", 1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn day1input() {
|
||||
assert_eq!(aoc_day1("day1input.txt", 1), 69206);
|
||||
assert_eq!(aoc_day1("day1input.txt", 3), 197400);
|
||||
assert_eq!(aoc_day1("input.txt", 1), 69206);
|
||||
assert_eq!(aoc_day1("input.txt", 3), 197400);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user