Fixed some bugs when running "run all", as it was trying to create instances with empty input for some reason

This commit is contained in:
2024-12-14 02:07:09 +01:00
parent 86cc88ce69
commit ccde7fd890
3 changed files with 4 additions and 4 deletions

View File

@@ -2,9 +2,9 @@ use std::collections::HashMap;
use itertools::Itertools;
use crate::{day_solver::DaySolver, util::{Coord, Grid}};
#[cfg(test)]
use crate::util::read_file;
use crate::{day_solver::DaySolver, util::{Coord, Grid}};
pub struct Day8 {
map: Grid<char>
@@ -14,7 +14,7 @@ impl Day8 {
pub fn create(input: String) -> Self {
return Day8 {
Day8 {
map: Grid::parse(input, None)
}
}