commonMain.it.unibo.tuprolog.solve.TestRepeat.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of test-solve Show documentation
Show all versions of test-solve Show documentation
Common testing facilities for 2P-Kt-based logic solvers
package it.unibo.tuprolog.solve
interface TestRepeat : SolverTest {
companion object {
fun prototype(solverFactory: SolverFactory): TestRepeat = TestRepeatImpl(solverFactory)
}
/**
* Tests the queries
* ```prolog
* ?- (repeat,!,fail).
* ```
* fails on a solver initialized with default built-ins and with and empty theory,
*/
fun testRepeat()
}