advent-of-code/2022/rust/src/scaffold.rs

35 lines
535 B
Rust
Raw Normal View History

2022-12-02 14:14:02 -06:00
mod common;
2022-12-04 01:25:36 -06:00
type Input = &str;
2022-12-02 14:14:02 -06:00
fn main() {
2022-12-02 23:39:50 -06:00
let input = common::day_input(panic!("PUT THE CORRECT DAY NUMBER HERE"));
2022-12-02 14:14:02 -06:00
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 = "";
#[test]
fn test_part1() {
assert_eq!(part1(TEST_INPUT), 0)
}
#[test]
fn test_part2() {
assert_eq!(part2(TEST_INPUT), 0)
}
}