From cdb3a7261ad04fc3e3d5f57586d812e08b684262 Mon Sep 17 00:00:00 2001 From: Keenan Tims Date: Wed, 18 Dec 2024 20:56:27 -0800 Subject: [PATCH] day19: pre puzzle boilerplate --- src/day19.rs | 31 +++++++++++++++++++++++++++++++ src/lib.rs | 1 + 2 files changed, 32 insertions(+) create mode 100644 src/day19.rs diff --git a/src/day19.rs b/src/day19.rs new file mode 100644 index 0000000..bb922e8 --- /dev/null +++ b/src/day19.rs @@ -0,0 +1,31 @@ +use aoc_runner_derive::aoc; + +fn parse(input: &str) -> String { + todo!() +} + +#[aoc(day19, part1)] +fn part1(input: &str) -> i64 { + todo!() +} + +#[aoc(day19, part2)] +fn part2(input: &str) -> i64 { + todo!() +} + +#[cfg(test)] +mod tests { + use super::*; + const EXAMPLE: &str = ""; + + #[test] + fn part1_example() { + assert_eq!(part1(EXAMPLE), 0); + } + + #[test] + fn part2_example() { + assert_eq!(part2(EXAMPLE), 0); + } +} diff --git a/src/lib.rs b/src/lib.rs index 39132b4..2495903 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,6 +8,7 @@ pub mod day15; pub mod day16; pub mod day17; pub mod day18; +pub mod day19; pub mod day2; pub mod day3; pub mod day4;