All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.it.unibo.tuprolog.solve.TestAtomConcat.kt Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package it.unibo.tuprolog.solve

interface TestAtomConcat : SolverTest {
    companion object {
        fun prototype(solverFactory: SolverFactory): TestAtomConcatImpl = TestAtomConcatImpl(solverFactory)
    }

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_concat(test,concat,X).
     * ```
     * succeeds.
     *
     */

    fun testAtomConcatThirdIsVar()

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_concat(test,concat,test).
     * ```
     * fails.
     *
     */

    fun testAtomConcatFails()

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_concat(test,X,testTest).
     * ```
     * succeeds.
     *
     */

    fun testAtomConcatSecondIsVar()

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_concat(X,query,testquery).
     * ```
     * succeeds.
     *
     */

    fun testAtomConcatFirstIsVar()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy