TestTimeoutImpl

class TestTimeoutImpl(solverFactory: SolverFactory) : TestTimeout

Concrete implementation of TestTimeout, instantiated via TestTimeout.prototype.

Constructors

Link copied to clipboard
constructor(solverFactory: SolverFactory)

Properties

Link copied to clipboard

A long test max duration, four times mediumDuration; used for queries involving deeper search or recursion.

Link copied to clipboard

A medium test max duration, twice shortDuration; used for queries involving a handful of resolution steps.

Link copied to clipboard

A short test max duration, used for queries expected to resolve almost immediately.

Functions

Link copied to clipboard
open override fun testInfiniteBagOf()

Same as testInfiniteFindAll, but with bagof(N, nat(N), L) in place of findall/3.

Link copied to clipboard
open override fun testInfiniteFindAll()

Tests the query

Link copied to clipboard
open override fun testInfiniteSetOf()

Same as testInfiniteFindAll, but with setof(N, nat(N), L) in place of findall/3.

Link copied to clipboard
open override fun testSleep()

Tests the query