mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2025-10-21 18:00:35 +00:00
fix daily-template
This commit is contained in:
parent
9c1d1160e2
commit
59e09a0eb7
@ -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(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user