diff --git a/2023/daily-template/src/part1.rs b/2023/daily-template/src/part1.rs index b29f414..f009875 100644 --- a/2023/daily-template/src/part1.rs +++ b/2023/daily-template/src/part1.rs @@ -1,7 +1,8 @@ use color_eyre::Result; -pub fn process(input: &str) -> Result<()> { +pub fn process(input: &str) -> Result { todo!("day xx - part 1"); + Ok(0) } #[cfg(test)] @@ -12,7 +13,7 @@ mod tests { fn test_process() -> Result<()> { let input = ""; todo!("haven't built test yet"); - assert_eq!("", process(input)?); + assert_eq!(0, process(input)?); Ok(()) } } diff --git a/2023/daily-template/src/part2.rs b/2023/daily-template/src/part2.rs index eb23892..b2f0774 100644 --- a/2023/daily-template/src/part2.rs +++ b/2023/daily-template/src/part2.rs @@ -1,7 +1,8 @@ use color_eyre::Result; -pub fn process(input: &str) -> Result<()> { +pub fn process(input: &str) -> Result { todo!("day xx - part 2"); + Ok(0) } #[cfg(test)] @@ -12,7 +13,7 @@ mod tests { fn test_process() -> Result<()> { let input = ""; todo!("haven't built test yet"); - assert_eq!("", process(input)?); + assert_eq!(0, process(input)?); Ok(()) } }