TestNotProvable

Conformance tests for \+/1 (negation as failure), shared by every Solver implementation via the TestNotProvable.prototype(solverFactory) factory (see TestClassicNotProvable in :solve-classic for a concrete usage).

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Signature expected in errors raised while resolving the goal passed to \+/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 testNPCut()

Tests the queries

Link copied to clipboard
abstract fun testNPCutFail()

Tests the queries

Link copied to clipboard
abstract fun testNPEquals()

Tests the queries

Link copied to clipboard
abstract fun testNPNum()

Tests the queries

Link copied to clipboard
abstract fun testNPTrue()

Tests the queries

Link copied to clipboard
abstract fun testNPX()

Tests the queries

Link copied to clipboard
abstract fun testOrNotCutFail()

Tests the queries