ProblemTestBench

org.ddolibscala.util.testbench.ProblemTestBench
class ProblemTestBench[S, P <: Problem[S]](problems: List[P], configFactory: P => TestModel[S])

A standalone generator of test cases for org.ddolibscala.modeling.Problem implementations.

Instead of being a test suite itself, it generates a list of executable 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.

Concrete fields

var maxWidth: Int

The maximal width of the MDD to tests.

The maximal width of the MDD to tests.

Attributes

var minWidth: Int

The minimal width of the MDD to test.

The minimal width of the MDD to test.

Attributes