Prepared for day7

This commit is contained in:
Pascal Phelipot 2023-12-11 13:37:48 +01:00
parent d68ac2c159
commit 958a8f29e2
3 changed files with 1025 additions and 2 deletions

File diff suppressed because it is too large Load Diff

23
src/day7/mod.rs Normal file
View File

@ -0,0 +1,23 @@
use super::Part;
use log::{debug, info, trace};
use regex::Regex;
pub fn solve(lines: Vec<String>, part: Part) -> u64 {
todo!()
}
#[cfg(test)]
mod tests {
use log::info;
use crate::{day6::solve_race, utils::init_logger_test};
fn init(){
init_logger_test();
}
#[test]
fn test_solve() {
init();
}
}

View File

@ -7,8 +7,8 @@ mod day3;
mod day4;
mod day5;
mod day6;
mod day7;
mod utils;
use log::info;
use utils::Part;
@ -20,7 +20,7 @@ fn main() {
.format_timestamp(None)
.init();
let data = utils::lines_from_file("./datasets/adventofcode.com_2023_day_6_input.txt").expect("Can't load the data");
let data = utils::lines_from_file("./datasets/adventofcode.com_2023_day_7_input.txt").expect("Can't load the data");
//let data = utils::lines_from_file("./datasets/test.txt").expect("Can't load the data");
}