Added the ability to have more then one test input, and fixed actual input
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user