Upload data files
Some checks failed
Continuous Integration / Continuous Integration (push) Has been cancelled

This commit is contained in:
James Musselman 2024-12-04 01:11:13 -06:00
parent 51e34a6b06
commit ae09ba2cc7
Signed by: Musselman
GPG key ID: 1DAEFF35ECB5D6DB
6 changed files with 78 additions and 0 deletions

0
data/examples/02.txt Normal file
View file

0
data/examples/03.txt Normal file
View file

0
data/examples/04.txt Normal file
View file

26
src/bin/02.rs Normal file
View file

@ -0,0 +1,26 @@
advent_of_code::solution!(2);
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);
}
}

26
src/bin/03.rs Normal file
View file

@ -0,0 +1,26 @@
advent_of_code::solution!(3);
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);
}
}

26
src/bin/04.rs Normal file
View file

@ -0,0 +1,26 @@
advent_of_code::solution!(4);
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);
}
}