TestIfThenElse

Conformance tests for the combined ->/2 ;/2 construct (if-then-else), shared by every Solver implementation via the TestIfThenElse.prototype(solverFactory) factory (see TestClassicIfThenElse in :solve-classic for a concrete usage). See also TestIfThen for the plain ->/2 (if-then, without an else branch) construct.

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

Tests the queries

Link copied to clipboard
abstract fun testIfFailElseTrue()

Tests the queries

Link copied to clipboard
abstract fun testIfFailElseX()

Tests the queries

Link copied to clipboard
abstract fun testIfOrElseTrue()

Tests the queries

Link copied to clipboard

Tests the queries

Link copied to clipboard
abstract fun testIfTrueElseFail()

Tests the queries

Link copied to clipboard
abstract fun testIfTrueThenElseFail()

Tests the queries

Link copied to clipboard
abstract fun testIfXTrueElseX()

Tests the queries