ProblemTestBench
be.cetic.ddolibscala.nolayer.util.testbench.ProblemTestBench
class ProblemTestBench[S, P <: Problem[S]](problems: List[P], configFactory: P => TestModel[S], bestSolutionKnown: Boolean)
A standalone generator of test cases for NoLayer be.cetic.ddolibscala.nolayer.modeling.Problem implementations.
It generates a list of executable be.cetic.ddolibscala.util.testbench.GeneratedTest objects that can be run by any test framework.
Type parameters
- P
-
the type of the problem implementation.
- S
-
the type of the state in the problem.
Value parameters
- configFactory
-
a function providing the solver configuration for a given problem.
- problems
-
the list of problem instances to test.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article