Moved template to allow for building and testing all days at once

This commit is contained in:
2022-12-04 19:46:36 +01:00
parent 3be88c4f96
commit f290ea91bc

View File

@@ -1,33 +0,0 @@
use anyhow::Result;
use aoc::Solver;
// -- Runners --
fn main() -> Result<()> {
Day::solve()
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn part1_test1() -> Result<()> {
Day::test(aoc::Part::ONE, "test-1", 0)
}
}
// -- Solution --
pub struct Day;
impl aoc::Solver for Day {
fn day() -> u8 {
todo!("Day not set")
}
fn part1(input: &str) -> u32 {
0
}
fn part2(input: &str) -> u32 {
0
}
}