Added the ability to have more then one test input, and fixed actual input

This commit is contained in:
2022-12-02 16:29:13 +01:00
parent a6a2385a85
commit a52cdafb8a
5 changed files with 2506 additions and 27 deletions

View File

@@ -6,11 +6,11 @@ fn main() {
}
#[test]
fn part1() {
Day::test(aoc::Part::ONE);
Day::test(aoc::Part::ONE, "test-1", 24000);
}
#[test]
fn part2() {
Day::test(aoc::Part::TWO);
Day::test(aoc::Part::TWO, "test-1", 45000);
}

View File

@@ -6,11 +6,7 @@ fn main() {
}
#[test]
fn part1() {
Day::test(aoc::Part::ONE);
}
#[test]
fn part2() {
Day::test(aoc::Part::TWO);
Day::test(aoc::Part::ONE, "test-1", 0);
}