Add missing Playground tests
This commit is contained in:
@@ -34,3 +34,14 @@ fn trash_compactor() {
|
|||||||
solvers::run_solver(solvers::trash_compactor::TrashCompactor {}, &EXAMPLE_PATHS)
|
solvers::run_solver(solvers::trash_compactor::TrashCompactor {}, &EXAMPLE_PATHS)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn playground() {
|
||||||
|
assert_eq!(
|
||||||
|
Ok((40, 0)),
|
||||||
|
solvers::run_solver(
|
||||||
|
solvers::playground::Playground::new(Some(10)),
|
||||||
|
&EXAMPLE_PATHS
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|||||||
@@ -29,3 +29,14 @@ fn trash_compactor() {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn playground() {
|
||||||
|
assert_eq!(
|
||||||
|
Ok((352584, 0)),
|
||||||
|
solvers::run_solver(
|
||||||
|
solvers::playground::Playground::new(None),
|
||||||
|
&solvers::DATA_PATHS
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user