chore: prep for day 4

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-12-03 05:00:54 -04:00
parent 4a8c1d460d
commit b2c281e19c
2 changed files with 33 additions and 2 deletions

30
rust/2021/src/day_04.rs Normal file
View File

@ -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!();
}
}

View File

@ -1,9 +1,10 @@
mod day_01; mod day_01;
mod day_02; mod day_02;
mod day_03; 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) { pub fn run(input: String) {
day_03::run(input); day_04::run(input);
} }