Skip to content

Commit

Permalink
chore: scaffold 2024-01 in Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
JeeZeh committed Dec 7, 2024
1 parent fa6a52f commit e05cac8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ out
__pycache__
.iml
obj
bin
target
*.egg-info
build
26 changes: 26 additions & 0 deletions 2024-rs/src/bin/01.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
advent_of_code::solution!(1);

pub fn part_one(input: &str) -> Option<u32> {
None
}

pub fn part_two(input: &str) -> Option<u32> {
None
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn test_part_one() {
let result = part_one(&advent_of_code::template::read_file("examples", DAY));
assert_eq!(result, None);
}

#[test]
fn test_part_two() {
let result = part_two(&advent_of_code::template::read_file("examples", DAY));
assert_eq!(result, None);
}
}

0 comments on commit e05cac8

Please sign in to comment.