TestBagOf

interface TestBagOf : SolverTest

Conformance tests for the ISO bagof/3 built-in, shared by every Solver implementation via the TestBagOf.prototype(solverFactory) factory (see TestClassicBagOf in :solve-classic for a concrete usage). Compare with TestSetOf (which additionally sorts and deduplicates results) and TestFindAll (which additionally never fails and does not support the ^/2 existential-quantification operator).

Inheritors

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

Tests the queries

Link copied to clipboard
abstract fun testBagOfFindX()

Tests the queries

Link copied to clipboard
abstract fun testBagOfInstanceError()

Tests the queries

Link copied to clipboard
abstract fun testBagOfSameAsFindall()

Tests the queries

Link copied to clipboard
abstract fun testBagOfTypeError()

Tests the queries

Link copied to clipboard
abstract fun testBagOfYXZ()

Tests the queries

Link copied to clipboard

Tests the queries