Cleaned up runner to use 2 test inputs and prepared for day 2
This commit is contained in:
27
src/solutions/day02.rs
Normal file
27
src/solutions/day02.rs
Normal 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 {
|
||||
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
pub mod dayxx;
|
||||
|
||||
pub mod day01;
|
||||
pub mod day02;
|
||||
|
Reference in New Issue
Block a user