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 Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Generates all the test cases based on the provided problems and configuration.

Generates all the test cases based on the provided problems and configuration.

Attributes

Returns

a list of test cases ready to be executed.