Prepared for day7
This commit is contained in:
parent
d68ac2c159
commit
958a8f29e2
File diff suppressed because it is too large
Load Diff
|
|
@ -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();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,8 +7,8 @@ mod day3;
|
||||||
mod day4;
|
mod day4;
|
||||||
mod day5;
|
mod day5;
|
||||||
mod day6;
|
mod day6;
|
||||||
|
mod day7;
|
||||||
mod utils;
|
mod utils;
|
||||||
use log::info;
|
|
||||||
use utils::Part;
|
use utils::Part;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ fn main() {
|
||||||
.format_timestamp(None)
|
.format_timestamp(None)
|
||||||
.init();
|
.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");
|
//let data = utils::lines_from_file("./datasets/test.txt").expect("Can't load the data");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue