mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2026-03-22 00:26:24 +00:00
fix daily-template
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
use color_eyre::Result;
|
use color_eyre::Result;
|
||||||
|
|
||||||
pub fn process(input: &str) -> Result<()> {
|
pub fn process(input: &str) -> Result<u32> {
|
||||||
todo!("day xx - part 1");
|
todo!("day xx - part 1");
|
||||||
|
Ok(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
@@ -12,7 +13,7 @@ mod tests {
|
|||||||
fn test_process() -> Result<()> {
|
fn test_process() -> Result<()> {
|
||||||
let input = "";
|
let input = "";
|
||||||
todo!("haven't built test yet");
|
todo!("haven't built test yet");
|
||||||
assert_eq!("", process(input)?);
|
assert_eq!(0, process(input)?);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
use color_eyre::Result;
|
use color_eyre::Result;
|
||||||
|
|
||||||
pub fn process(input: &str) -> Result<()> {
|
pub fn process(input: &str) -> Result<u32> {
|
||||||
todo!("day xx - part 2");
|
todo!("day xx - part 2");
|
||||||
|
Ok(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
@@ -12,7 +13,7 @@ mod tests {
|
|||||||
fn test_process() -> Result<()> {
|
fn test_process() -> Result<()> {
|
||||||
let input = "";
|
let input = "";
|
||||||
todo!("haven't built test yet");
|
todo!("haven't built test yet");
|
||||||
assert_eq!("", process(input)?);
|
assert_eq!(0, process(input)?);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user