From 66c9dca2116e8a2eb60ee7c6c832bbf8cc435c35 Mon Sep 17 00:00:00 2001 From: Jack Kinsey Date: Sun, 8 Dec 2024 15:39:46 -0500 Subject: [PATCH] Improve the template a bit --- src/day00.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/day00.rs b/src/day00.rs index 3cfb47c..9025154 100644 --- a/src/day00.rs +++ b/src/day00.rs @@ -7,11 +7,13 @@ fn parse(input: &str) -> () { } pub fn part1() { - println!("Day 0 Part 1: {}", 0); + let n = 0; + println!("Day 0 Part 1: {}", n); } pub fn part2() { - println!("Day 0 Part 2: {}", 0); + let n = 0; + println!("Day 0 Part 2: {}", n); } #[cfg(test)] @@ -22,6 +24,6 @@ mod test { #[test] fn test_parse() { - assert_eq!(parse(INPUT_STR), todo!()) + assert_eq!(parse(INPUT_STR), parse(INPUT_STR)) } } -- 2.38.5