day8: boilerplate

This commit is contained in:
2025-12-07 21:00:14 -08:00
parent ba2cfffc3f
commit 95b6c0ed9e
2 changed files with 34 additions and 0 deletions

33
src/day8.rs Normal file
View File

@@ -0,0 +1,33 @@
use aoc_runner_derive::{aoc, aoc_generator};
#[aoc_generator(day8)]
fn parse(input: &str) -> String {
todo!()
}
#[aoc(day8, part1)]
fn part1(input: &str) -> u64 {
0
}
#[aoc(day8, part2)]
fn part2(input: &str) -> u64 {
0
}
#[cfg(test)]
mod tests {
use super::*;
const EXAMPLE: &str = "";
#[test]
fn part1_example() {
assert_eq!(part1(&parse(EXAMPLE)), 0);
}
#[test]
fn part2_example() {
assert_eq!(part2(&parse(EXAMPLE)), 0);
}
}

View File

@@ -5,6 +5,7 @@ mod day4;
mod day5;
mod day6;
mod day7;
mod day8;
use aoc_runner_derive::aoc_lib;