1
0

prepare next day

This commit is contained in:
2024-12-02 20:13:48 +01:00
parent 48f9790c5e
commit 26530738dc
3 changed files with 38 additions and 2 deletions

34
src/day03.rs Normal file
View File

@@ -0,0 +1,34 @@
use std::fs::read_to_string;
pub fn day_main() {
let input = read_to_string("input/day03.txt").unwrap();
println!("part1: {}", part1(&input));
println!("part2: {}", part2(&input));
}
type RiddleResult = usize;
fn part1(input: &str) -> RiddleResult {
0
}
fn part2(_input: &str) -> RiddleResult {
0
}
#[cfg(test)]
mod test {
use super::{part1, part2};
const TEST_INPUT: &str = r"
";
#[test]
fn test1() {
assert_eq!(part1(TEST_INPUT), 0);
}
#[test]
fn test2() {
assert_eq!(part2(TEST_INPUT), 0);
}
}