Starting day 3
This commit is contained in:
parent
6f6b8c1d62
commit
95d88256e0
14
2024/rust/src/day3.rs
Normal file
14
2024/rust/src/day3.rs
Normal 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() {}
|
||||
}
|
|
@ -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() {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue