shell for day6
This commit is contained in:
4 files changed
+23
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,21 @@
|
||||
use anyhow::Result;
|
||||
|
||||
pub(crate) fn run() -> Result<(usize, usize)> {
|
||||
let input = include_str!("../data/day06.txt");
|
||||
Ok((0, 0))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_example() {
|
||||
let input = include_str!("../data/day06-test.txt");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_my_data() {
|
||||
let input = include_str!("../data/day06.txt");
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,7 @@ mod day02;
|
||||
mod day03;
|
||||
mod day04;
|
||||
mod day05;
|
||||
mod day06;
|
||||
mod utils;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
@@ -13,5 +14,6 @@ fn main() -> Result<()> {
|
||||
println!("day03: {:?}", day03::run()?);
|
||||
println!("day04: {:?}", day04::run()?);
|
||||
println!("day05: {:?}", day05::run()?);
|
||||
println!("day06: {:?}", day06::run()?);
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user