Add solution for "Day 7: Laboratories", part 1 and 2
This commit is contained in:
@@ -59,6 +59,14 @@ fn trash_compactor() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn laboratories() {
|
||||
assert_eq!(
|
||||
Ok((21, 40)),
|
||||
solvers::run_solver(solvers::laboratories::Laboratories {}, &EXAMPLE_PATHS)
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn playground() {
|
||||
assert_eq!(
|
||||
|
||||
@@ -57,6 +57,14 @@ fn trash_compactor() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn laboratories() {
|
||||
assert_eq!(
|
||||
Ok((1541, 80158285728929)),
|
||||
solvers::run_solver(solvers::laboratories::Laboratories {}, &solvers::DATA_PATHS)
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn playground() {
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user