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

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

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

interface TestFloat : SolverTest {
    companion object {
        fun prototype(solverFactory: SolverFactory): TestFloat = TestFloatImpl(solverFactory)
    }

    /**
     * Tests the queries
     * ```prolog
     * ?- float(3.3).
     * ```
     * succeeds on a solver initialized with default built-ins and with and empty theory,
     */
    fun testFloatDec()

    /**
     * Tests the queries
     * ```prolog
     * ?- float(-3.3).
     * ```
     * succeeds on a solver initialized with default built-ins and with and empty theory,
     */
    fun testFloatDecNeg()

    /**
     * Tests the queries
     * ```prolog
     * ?- float(3).
     * ```
     * fails on a solver initialized with default built-ins and with and empty theory,
     */
    fun testFloatNat()

    /**
     * Tests the queries
     * ```prolog
     * ?- float(atom).
     * ```
     * fails on a solver initialized with default built-ins and with and empty theory,
     */
    fun testFloatAtom()

    /**
     * Tests the queries
     * ```prolog
     * ?- float(X).
     * ```
     * fails on a solver initialized with default built-ins and with and empty theory,
     */
    fun testFloatX()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy