diff --git a/2022/src/bin/day1.rs b/2022/src/bin/day1.rs index 2b22da4..7d19b7d 100644 --- a/2022/src/bin/day1.rs +++ b/2022/src/bin/day1.rs @@ -16,14 +16,14 @@ mod tests { Day::test(aoc::Part::ONE, "test-1", 24000) } #[test] - fn part2_test1() -> Result<()> { - Day::test(aoc::Part::TWO, "test-1", 45000) - } - #[test] fn part1_solution() -> Result<()> { Day::test(aoc::Part::ONE, "input", 70116) } #[test] + fn part2_test1() -> Result<()> { + Day::test(aoc::Part::TWO, "test-1", 45000) + } + #[test] fn part2_solution() -> Result<()> { Day::test(aoc::Part::TWO, "input", 206582) } diff --git a/2022/src/bin/day2.rs b/2022/src/bin/day2.rs index 64fcf4f..43cf8c2 100644 --- a/2022/src/bin/day2.rs +++ b/2022/src/bin/day2.rs @@ -16,14 +16,14 @@ mod tests { Day::test(aoc::Part::ONE, "test-1", 15) } #[test] - fn part2_test1() -> Result<()> { - Day::test(aoc::Part::TWO, "test-1", 12) - } - #[test] fn part1_solution() -> Result<()> { Day::test(aoc::Part::ONE, "input", 14264) } #[test] + fn part2_test1() -> Result<()> { + Day::test(aoc::Part::TWO, "test-1", 12) + } + #[test] fn part2_solution() -> Result<()> { Day::test(aoc::Part::TWO, "input", 12382) } diff --git a/2022/src/bin/day3.rs b/2022/src/bin/day3.rs index b1718ea..f2814e0 100644 --- a/2022/src/bin/day3.rs +++ b/2022/src/bin/day3.rs @@ -16,14 +16,14 @@ mod tests { Day::test(aoc::Part::ONE, "test-1", 157) } #[test] - fn part2_test1() -> Result<()> { - Day::test(aoc::Part::TWO, "test-1", 70) - } - #[test] fn part1_solution() -> Result<()> { Day::test(aoc::Part::ONE, "input", 8298) } #[test] + fn part2_test1() -> Result<()> { + Day::test(aoc::Part::TWO, "test-1", 70) + } + #[test] fn part2_solution() -> Result<()> { Day::test(aoc::Part::TWO, "input", 2708) } diff --git a/2022/src/bin/day4.rs b/2022/src/bin/day4.rs index dadc083..626e71e 100644 --- a/2022/src/bin/day4.rs +++ b/2022/src/bin/day4.rs @@ -17,14 +17,14 @@ mod tests { Day::test(aoc::Part::ONE, "test-1", 2) } #[test] - fn part2_test1() -> Result<()> { - Day::test(aoc::Part::TWO, "test-1", 4) - } - #[test] fn part1_solution() -> Result<()> { Day::test(aoc::Part::ONE, "input", 567) } #[test] + fn part2_test1() -> Result<()> { + Day::test(aoc::Part::TWO, "test-1", 4) + } + #[test] fn part2_solution() -> Result<()> { Day::test(aoc::Part::TWO, "input", 907) } diff --git a/2022/src/bin/day5.rs b/2022/src/bin/day5.rs index ddc4838..f87a37b 100644 --- a/2022/src/bin/day5.rs +++ b/2022/src/bin/day5.rs @@ -21,14 +21,14 @@ mod tests { Day::test(aoc::Part::ONE, "test-1", "CMZ".to_string()) } #[test] - fn part2_test1() -> Result<()> { - Day::test(aoc::Part::TWO, "test-1", "MCD".to_string()) - } - #[test] fn part1_solution() -> Result<()> { Day::test(aoc::Part::ONE, "input", "RNZLFZSJH".to_string()) } #[test] + fn part2_test1() -> Result<()> { + Day::test(aoc::Part::TWO, "test-1", "MCD".to_string()) + } + #[test] fn part2_solution() -> Result<()> { Day::test(aoc::Part::TWO, "input", "CNSFCGJSM".to_string()) }