Starting day 3

This commit is contained in:
Daniel Flanagan 2024-12-03 09:14:40 -06:00
parent 6f6b8c1d62
commit 95d88256e0
2 changed files with 17 additions and 21 deletions

14
2024/rust/src/day3.rs Normal file
View file

@ -0,0 +1,14 @@
mod prelude;
pub use crate::prelude::*;
fn main() {
show_answers(0, 0);
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test() {}
}

View file

@ -1,22 +1,8 @@
mod prelude;
use crate::prelude::*;
pub use crate::prelude::*;
fn main() {
Day5::show(day_input(5), day_input(5))
}
struct Day5 {}
impl AoCSolution for Day5 {
type Input = String;
type Solution = usize;
fn part1(input: Self::Input) -> Self::Solution {
0
}
fn part2(input: Self::Input) -> Self::Solution {
0
}
show_answers(0, 0);
}
#[cfg(test)]
@ -24,9 +10,5 @@ mod tests {
use super::*;
#[test]
fn test() {
let input = r#""#;
assert_eq!(Day2::part1(input.into()), 1);
assert_eq!(Day2::part2(input.into()), 0);
}
fn test() {}
}