shell for day6

This commit is contained in:
swaits committed 2021-12-06 09:20:37 -07:00
1 parent 494d5e7a91
commit cef70247fd
4 files changed
+23

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
+21
View File
@@ -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");
}
}
+2
View File
@@ -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(())
}