34 lines
531 B
Rust
34 lines
531 B
Rust
use aoc_runner_derive::{aoc, aoc_generator};
|
|
|
|
type Input = ();
|
|
|
|
#[aoc_generator(day)]
|
|
fn parse(input: &str) -> Input {
|
|
todo!()
|
|
}
|
|
|
|
#[aoc(day, part1)]
|
|
fn part1(input: &Input) -> usize {
|
|
todo!()
|
|
}
|
|
|
|
// #[aoc(day, part2)]
|
|
// fn part2(input: &Input) -> usize {
|
|
// todo!()
|
|
// }
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
use super::*;
|
|
|
|
#[test]
|
|
fn part1_example() {
|
|
assert_eq!(part1(&parse("<EXAMPLE>")), 0);
|
|
}
|
|
|
|
// #[test]
|
|
// fn part2_example() {
|
|
// assert_eq!(part2(&parse("<EXAMPLE>")), 0);
|
|
// }
|
|
}
|