1
0

Add missing Playground tests

This commit is contained in:
Stefan Müller
2025-12-09 10:52:57 +01:00
parent 05cceddead
commit 4ce0d43529
2 changed files with 22 additions and 0 deletions
+11
View File
@@ -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
)
);
}
+11
View File
@@ -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
)
);
}