TestNumberCodes

Conformance tests for the ISO number_codes/2 built-in, shared by every Solver implementation via the TestNumberCodes.prototype(solverFactory) factory (see TestClassicNumberCodes in :solve-classic for a concrete usage). See also TestNumberChars for the analogous built-in working on single-character atoms.

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

Tests the query

Link copied to clipboard

Tests the query

Link copied to clipboard

Tests the query

Link copied to clipboard

Tests the query

Link copied to clipboard

Tests the query

Link copied to clipboard

Tests the query

Link copied to clipboard
abstract fun testNumberCodesOk()

Tests the query