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); + } +}