testWithSubstitution

abstract fun testWithSubstitution()

Tests the query

?- (var(X), X = 1).

succeeds on a solver initialized with default built-ins and with an empty theory, producing 1 solution which binds variable X to 1.