mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 07:23:18 -09:00
init day1.rs
This commit is contained in:
parent
b19f03e212
commit
d99b5939ec
22
src/day1.rs
Normal file
22
src/day1.rs
Normal file
@ -0,0 +1,22 @@
|
||||
fn part_1_solution(input: &str) -> u64 {
|
||||
|
||||
|
||||
todo!();
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod part1 {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn run_sample() {
|
||||
let input = include_str!("../inputs/1_test.txt");
|
||||
assert_eq!(part_1_solution(input), 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn run() {
|
||||
let input = include_str!("../inputs/1.txt");
|
||||
assert_eq!(part_1_solution(input), 0);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user