TestCharCode
Conformance tests for the ISO char_code/2 built-in, shared by every Solver implementation via the TestCharCode.prototype(solverFactory) factory (see TestClassicCharCode in :solve-classic for a concrete usage).
Contained requests:
?- char_code(a,X).
?- char_code(X,97).
?- char_code(X,a).
?- char_code(g,104).Content copied to clipboard
Inheritors
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.