adding template for cargo generate

This commit is contained in:
Dylan Thies
2023-12-04 19:43:06 -05:00
parent 51cf3fa8e7
commit 1051b9812e
6 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#![warn(clippy::all, clippy::pedantic)]
#[must_use]
pub fn part1 (_input: &str) -> String {
"Not Finished".to_string()
}
#[cfg(test)]
mod test {
use super::*;
const INPUT: &str = "";
#[test]
fn part1_works() {
let result = part1(INPUT);
assert_eq!(result, "Not Finished".to_string());
}
}