chore: prep for day 4
This commit is contained in:
parent
4a8c1d460d
commit
b2c281e19c
|
@ -0,0 +1,30 @@
|
|||
fn solve_part1(input: &str) -> i32 {
|
||||
todo!();
|
||||
}
|
||||
|
||||
fn solve_part2(input: &str) -> i32 {
|
||||
todo!();
|
||||
}
|
||||
|
||||
pub fn run(input: String) {
|
||||
println!("--- Part 1 ---");
|
||||
println!("Answer: {}", solve_part1(&input));
|
||||
println!();
|
||||
println!("--- Part 2 ---");
|
||||
println!("Answer: {}", solve_part2(&input))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
const EXAMPLE_INPUT: &str = todo!();
|
||||
|
||||
#[test]
|
||||
fn part1() {
|
||||
todo!();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn part2() {
|
||||
todo!();
|
||||
}
|
||||
}
|
|
@ -1,9 +1,10 @@
|
|||
mod day_01;
|
||||
mod day_02;
|
||||
mod day_03;
|
||||
mod day_04;
|
||||
|
||||
pub const INPUT_PATH: &str = "./input/2021/day3.txt";
|
||||
pub const INPUT_PATH: &str = "./input/2021/day4.txt";
|
||||
|
||||
pub fn run(input: String) {
|
||||
day_03::run(input);
|
||||
day_04::run(input);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue