1
0

Add solution for "Day 10: Factory", part 1

This commit is contained in:
Stefan Müller
2026-07-13 21:19:41 +02:00
parent 3261bd9989
commit 396c973000
7 changed files with 102 additions and 1 deletions
+8
View File
@@ -85,3 +85,11 @@ fn movie_theater() {
solvers::run_solver(solvers::movie_theater::MovieTheater {}, &EXAMPLE_PATHS)
);
}
#[test]
fn factory() {
assert_eq!(
Ok((7, 0)),
solvers::run_solver(solvers::factory::Factory {}, &EXAMPLE_PATHS)
);
}
+8
View File
@@ -86,3 +86,11 @@ fn movie_theater() {
)
);
}
#[test]
fn factory() {
assert_eq!(
Ok((409, 0)),
solvers::run_solver(solvers::factory::Factory {}, &solvers::DATA_PATHS)
);
}