2022-12-01 17:21:27 -06:00
|
|
|
mod common;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let input = common::day_input(2);
|
|
|
|
println!("Part 1: {}", part1(&input));
|
|
|
|
println!("Part 2: {}", part2(&input));
|
|
|
|
}
|
|
|
|
|
|
|
|
fn part1(input: &str) -> i32 {
|
|
|
|
0
|
|
|
|
}
|
|
|
|
|
|
|
|
fn part2(input: &str) -> i32 {
|
|
|
|
0
|
|
|
|
}
|
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
use super::*;
|
|
|
|
|
|
|
|
const TEST_INPUT: &str = "0";
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn test_part1() {
|
2022-12-01 17:27:58 -06:00
|
|
|
assert_eq!(part1(TEST_INPUT), 10000)
|
2022-12-01 17:21:27 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn test_part2() {
|
2022-12-01 17:27:58 -06:00
|
|
|
assert_eq!(part2(TEST_INPUT), 10000)
|
2022-12-01 17:21:27 -06:00
|
|
|
}
|
|
|
|
}
|