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

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

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

interface TestAtomLength : SolverTest {
    companion object {
        fun prototype(solverFactory: SolverFactory): TestAtomLengthImpl = TestAtomLengthImpl(solverFactory)
    }

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_length(test,4).
     * ```
     * succeeds.
     *
     *
     */

    fun testAtomLengthNoVar()

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

    fun testAtomLengthSecondIsVar()

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_length(X,4).
     * ```
     * fails.
     *
     *
     */

    fun testAtomLengthFirstIsVar()

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_length(testLength,X).
     * ```
     * succeeds.
     *
     *
     */

    fun testAtomLengthSecondIsVar2()

    /**
     * Tests the queries
     * ```prolog
     * ?- atom_length(testLength,X).
     * ```
     * fails.
     *
     *
     */

    fun testAtomLengthFail()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy