Cleaned up runner to use 2 test inputs and prepared for day 2

This commit is contained in:
2023-12-01 11:09:24 +00:00
parent b08290c70c
commit 3ff45cae13
9 changed files with 52 additions and 12 deletions

27
src/solutions/day02.rs Normal file
View File

@ -0,0 +1,27 @@
use super::dayxx::Solution;
pub struct Day02 {}
impl Solution for Day02 {
fn part1(
&self,
input: &mut Vec<String>,
) -> Result<Box<dyn std::fmt::Display>, Box<dyn std::error::Error>> {
Ok(Box::new("Ready"))
}
fn part2(
&self,
input: &mut Vec<String>,
) -> Result<Box<dyn std::fmt::Display>, Box<dyn std::error::Error>> {
Ok(Box::new("Ready"))
}
fn get_day(&self) -> u8 {
2
}
}
impl Day02 {
}

View File

@ -1,3 +1,4 @@
pub mod dayxx;
pub mod day01;
pub mod day02;