TestUnify

interface TestUnify : SolverTest

Conformance tests for =/2 (unification), shared by every Solver implementation via the TestUnify.prototype(solverFactory) factory (see TestClassicUnify in :solve-classic for a concrete usage). See also TestNotUnify for the corresponding \=/2 tests.

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 testDecNumberUnify()

Tests the query

Link copied to clipboard
abstract fun testDiffNumberUnify()

Tests the query

Link copied to clipboard
abstract fun testDoubleUnify()

Tests the query

Link copied to clipboard
abstract fun testFDefUnify()

Tests the query

Link copied to clipboard
abstract fun testFMultipleTermUnify()

Tests the query

Link copied to clipboard
abstract fun testFUnify()

Tests the query

Link copied to clipboard
abstract fun testGUnifyFX()

Tests the query

Link copied to clipboard
abstract fun testMultipleTermUnify()

Tests the query

Link copied to clipboard
abstract fun testNumberUnify()

Tests the query

Link copied to clipboard
abstract fun testNumberXUnify()

Tests the query

Link copied to clipboard
abstract fun testXYUnify()

Tests the query