TestCall

interface TestCall : SolverTest

Conformance tests for the ISO call/1 built-in, shared by every Solver implementation via the TestCall.prototype(solverFactory) factory (see TestClassicCall in :solve-classic for a concrete usage).

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Signature expected in errors raised while resolving the goal passed to call/1.

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
abstract fun testCallCut()

Tests the queries

Link copied to clipboard
abstract fun testCallFail()

Tests the queries

Link copied to clipboard
abstract fun testCallFailCall()

Tests the queries

Link copied to clipboard
abstract fun testCallFailOne()

Tests the queries

Link copied to clipboard
abstract fun testCallFailX()

Tests the queries

Link copied to clipboard
abstract fun testCallOne()

Tests the queries

Link copied to clipboard
abstract fun testCallTrue()

Tests the queries

Link copied to clipboard
abstract fun testCallWriteCall()

Tests the queries

Link copied to clipboard
abstract fun testCallWriteOne()

Tests the queries

Link copied to clipboard
abstract fun testCallWriteX()

Tests the queries

Link copied to clipboard
abstract fun testCallX()

Tests the queries