From ae09ba2cc76ea6168d9079b485a6957e0811be2b Mon Sep 17 00:00:00 2001 From: Musselman Date: Wed, 4 Dec 2024 01:11:13 -0600 Subject: [PATCH] Upload data files --- data/examples/02.txt | 0 data/examples/03.txt | 0 data/examples/04.txt | 0 src/bin/02.rs | 26 ++++++++++++++++++++++++++ src/bin/03.rs | 26 ++++++++++++++++++++++++++ src/bin/04.rs | 26 ++++++++++++++++++++++++++ 6 files changed, 78 insertions(+) create mode 100644 data/examples/02.txt create mode 100644 data/examples/03.txt create mode 100644 data/examples/04.txt create mode 100644 src/bin/02.rs create mode 100644 src/bin/03.rs create mode 100644 src/bin/04.rs diff --git a/data/examples/02.txt b/data/examples/02.txt new file mode 100644 index 0000000..e69de29 diff --git a/data/examples/03.txt b/data/examples/03.txt new file mode 100644 index 0000000..e69de29 diff --git a/data/examples/04.txt b/data/examples/04.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/bin/02.rs b/src/bin/02.rs new file mode 100644 index 0000000..3bae35c --- /dev/null +++ b/src/bin/02.rs @@ -0,0 +1,26 @@ +advent_of_code::solution!(2); + +pub fn part_one(input: &str) -> Option { + None +} + +pub fn part_two(input: &str) -> Option { + 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); + } +} diff --git a/src/bin/03.rs b/src/bin/03.rs new file mode 100644 index 0000000..a91281c --- /dev/null +++ b/src/bin/03.rs @@ -0,0 +1,26 @@ +advent_of_code::solution!(3); + +pub fn part_one(input: &str) -> Option { + None +} + +pub fn part_two(input: &str) -> Option { + 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); + } +} diff --git a/src/bin/04.rs b/src/bin/04.rs new file mode 100644 index 0000000..6dd4f7d --- /dev/null +++ b/src/bin/04.rs @@ -0,0 +1,26 @@ +advent_of_code::solution!(4); + +pub fn part_one(input: &str) -> Option { + None +} + +pub fn part_two(input: &str) -> Option { + 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); + } +}