From 386f764fbdece12f5096c359244338ab2c33fad4 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 6 Dec 2022 21:45:13 +0100 Subject: [PATCH] Added missing test for actual solution --- 2022/src/bin/day6.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/2022/src/bin/day6.rs b/2022/src/bin/day6.rs index d9eb528..9e1b21b 100644 --- a/2022/src/bin/day6.rs +++ b/2022/src/bin/day6.rs @@ -31,6 +31,10 @@ mod tests { fn part1_test5() -> Result<()> { Day::test(aoc::Part::ONE, "test-5", 11) } + #[test] + fn part1_solution() -> Result<()> { + Day::test(aoc::Part::ONE, "input", 1275) + } #[test] fn part2_test1() -> Result<()> { @@ -52,6 +56,10 @@ mod tests { fn part2_test5() -> Result<()> { Day::test(aoc::Part::TWO, "test-5", 26) } + #[test] + fn part2_solution() -> Result<()> { + Day::test(aoc::Part::TWO, "input", 3605) + } // Benchmarks extern crate test;