TestFunctor

Conformance tests for the ISO functor/3 built-in, shared by every Solver implementation via the TestFunctor.prototype(solverFactory) factory (see TestClassicFunctor in :solve-classic for a concrete usage).

Types

Link copied to clipboard
object Companion

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

Tests the queries

Link copied to clipboard
abstract fun testFunArityWithSub()

Tests the queries

Link copied to clipboard
abstract fun testFunArityZero()

Tests the queries

Link copied to clipboard
abstract fun testFunConsOf()

Tests the queries

Link copied to clipboard
abstract fun testFunDecNum()

Tests the queries

Link copied to clipboard
abstract fun testFunEmptyList()

Tests the queries

Link copied to clipboard
abstract fun testFunFlag()

Tests the query

Link copied to clipboard
abstract fun testFunFooName()

Tests the query

Link copied to clipboard
abstract fun testFunMats()

Tests the queries

Link copied to clipboard
abstract fun testFunNegativeArity()

Tests the query

Link copied to clipboard
abstract fun testFunNumName()

Tests the query

Link copied to clipboard
abstract fun testFunWrongArity()

Tests the queries

Link copied to clipboard
abstract fun testFunWrongName()

Tests the queries

Link copied to clipboard
abstract fun testFunXAArity()

Tests the query

Link copied to clipboard
abstract fun testFunXNameYArity()

Tests the queries

Link copied to clipboard
abstract fun testFunXNArity()

Tests the query

Link copied to clipboard
abstract fun testFunXYWrongArity()

Tests the query