package Ġit . uni bo . tup ro log . solve Ċ Ċ import Ġit . uni bo . tup ro log . solve . Custom The ories . if Then 1 To Solution Ċ import Ġit . uni bo . tup ro log . solve . Custom The ories . if Then 2 To Solution Ċ import Ġit . uni bo . tup ro log . solve . Custom The ories . if Then Else 1 To Solution Ċ import Ġit . uni bo . tup ro log . solve . Custom The ories . if Then Else 2 To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . call Standard Example Theory Go als To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . catch And Throw Theory Example Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . conj unction Standard Example Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . if Then Else Standard Example Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . if Then Standard Example Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . not Standard Example Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . pro log Standard Example Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Pro log Standard Example The ories . pro log Standard Example With Cut Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . call Testing Go als To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . catch Testing Go als To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . custom Range List Generator Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . custom Reverse List Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . cut Con junction And Back tracking Theory Not able Goal To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . halt Testing Go als To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . infinite Computation Theory Not able Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . simple Cut And Con junction Theory Not able Goal To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . simple Cut Theory Not able Goal To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Testing Clause The ories . simple Fact Theory Not able Goal To Solutions Ċ import Ġit . uni bo . tup ro log . solve . Time Related The ories . less Than 5 0 0 Ms Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Time Related The ories . sl ight ly More Than 6 0 0 Ms Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Time Related The ories . sl ight ly More Than 7 0 0 Ms Goal To Solution Ċ import Ġit . uni bo . tup ro log . solve . Time Related The ories . sl ight ly More Than 5 0 0 Ms Goal To Solution Ċ Ċ /** ĠA Ġprototype Ġclass Ġfor Ġtesting Ġsolver Ġimplementations Ġ*/ Ċ interface ĠTest Solver Ġ: ĠSolver Test Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġprototype ( solver Factory : ĠSolver Factory ): ĠTest Solver Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTest Solver Impl ( solver Factory ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Unknown Flag () ĊĊĠĠĠ Ġ/** ĠTest Ġpresence Ġof Ġcorrect Ġbuilt - ins Ġ*/ ĊĠĠĠ Ġfun Ġtest Builtin Api () ĊĊĠĠĠ Ġfun Ġtest Assert () ĊĊĠĠĠ Ġfun Ġtest Assert Z () ĊĊĠĠĠ Ġfun Ġtest Assert A () ĊĊĠĠĠ Ġfun Ġtest Write () ĊĊĠĠĠ Ġfun Ġtest Standard Output () ĊĊĠĠĠ Ġfun Ġtest Find All () ĊĊĠĠĠ Ġfun Ġtest Side Effects Persistent After Back tracking 1 () ĊĊĠĠĠ Ġ/** ĠTest Ġ` true ` Ġgoal Ġ*/ ĊĠĠĠ Ġfun Ġtest True () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ less Than 5 0 0 Ms Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Timeout 1 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ sl ight ly More Than 5 0 0 Ms Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Timeout 2 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ sl ight ly More Than 6 0 0 Ms Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Timeout 3 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ sl ight ly More Than 7 0 0 Ms Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Timeout 4 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ if Then 1 To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest If Then 1 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ if Then Else 1 To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest If Then Else 1 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ if Then Else 2 To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest If Then Else 2 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ if Then 2 To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest If Then 2 () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ simple Fact Theory Not able Goal To Solutions ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Un ification () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ simple Cut Theory Not able Goal To Solutions ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Simple Cut Altern atives () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ simple Cut And Con junction Theory Not able Goal To Solutions ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Cut And Con junction () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ cut Con junction And Back tracking Theory Not able Goal To Solutions ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Cut Con junction And Back tracking () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ infinite Computation Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Max Duration Parameter And TimeOut Exception () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ pro log Standard Example Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Pro log Standard Search Tree Example () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ pro log Standard Example With Cut Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Pro log Standard Search Tree With Cut Example () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ custom Reverse List Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Back tracking With Custom Reverse List Implementation () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ conj unction Standard Example Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest With Pro log Standard Con junction Examples () ĊĊĠĠĠ Ġ/** ĠA Ġtest Ġwith Ġall Ġgoals Ġused Ġin Ġconjunction Ġwith Ġ` true ` Ġor Ġ` fail ` Ġto Ġtest ĠCon junction Ġproperties Ġ*/ ĊĠĠĠ Ġfun Ġtest Con junction Properties () ĊĊĠĠĠ Ġ/** ĠCall Ġprimitive Ġtesting Ġwith Ġ[ call Testing Go als To Solutions ] Ġand Ġ[ call Standard Example Theory Go als To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Call Primitive () ĊĊĠĠĠ Ġ/** ĠA Ġtest Ġin Ġwhich Ġall Ġtesting Ġgoals Ġare Ġcalled Ġthrough Ġthe ĠCall Ġprimitive Ġ*/ ĊĠĠĠ Ġfun Ġtest Call Primitive Transparency () ĊĊĠĠĠ Ġ/** ĠCall Ġprimitive Ġtesting Ġwith Ġ[ catch Testing Go als To Solutions ] Ġand Ġ[ catch And Throw Theory Example Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Catch Primitive () ĊĊĠĠĠ Ġ/** ĠA Ġtest Ġin Ġwhich Ġall Ġtesting Ġgoals Ġare Ġcalled Ġthrough Ġthe ĠCatch Ġprimitive Ġ*/ ĊĠĠĠ Ġfun Ġtest Catch Primitive Transparency () ĊĊĠĠĠ Ġ/** ĠH alt Ġprimitive Ġtesting Ġwith Ġ[ halt Testing Go als To Solutions ] Ġ*/ ĊĠĠĠ Ġfun Ġtest H alt Primitive () ĊĊĠĠĠ Ġ/** ĠNot Ġrule Ġtesting Ġwith Ġ[ not Standard Example Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Not Primitive () ĊĊĠĠĠ Ġ/** ĠA Ġtest Ġin Ġwhich Ġall Ġtesting Ġgoals Ġare Ġcalled Ġthrough Ġthe ĠNot Ġrule Ġ*/ ĊĠĠĠ Ġfun Ġtest Not Mod ularity () ĊĊĠĠĠ Ġ/** ĠIf - Then Ġrule Ġtesting Ġwith Ġ[ if Then Standard Example Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest If Then Rule () ĊĊĠĠĠ Ġ/** ĠIf - Then - Else Ġrule Ġtesting Ġwith Ġ[ if Then Else Standard Example Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest If Then Else Rule () ĊĊĠĠĠ Ġ/** ĠTest Ġwith Ġ[ custom Range List Generator Theory Not able Goal To Solution ] Ġ*/ ĊĠĠĠ Ġfun Ġtest Numbers Range List Generation () ĊĠĠĠ Ġfun Ġtest Failure () ĊĠĠĠ Ġfun Ġtest Basic Back tracking 1 () ĊĠĠĠ Ġfun Ġtest Basic Back tracking 2 () ĊĠĠĠ Ġfun Ġtest Basic Back tracking 3 () ĊĠĠĠ Ġfun Ġtest Basic Back tracking 4 () ĊĠĠĠ Ġfun Ġtest Con junction () ĊĠĠĠ Ġfun Ġtest Con junction Of Con junction s () ĊĠĠĠ Ġfun Ġtest Con junction With Un ification () ĊĠĠĠ Ġfun Ġtest Dis junction () ĊĠĠĠ Ġfun Ġtest Dis junction With Un ification () ĊĠĠĠ Ġfun Ġtest Member () ĊĠĠĠ Ġfun Ġtest Assert Rules () ĊĠĠĠ Ġfun Ġtest Re tract () ĊĠĠĠ Ġfun Ġtest Natural () ĊĠĠĠ Ġfun Ġtest Functor () ĊĠĠĠ Ġfun Ġtest Un iv () ĊĠĠĠ Ġfun Ġtest Append () ĊĠĠĠ Ġfun Ġtest Re tract All () ĊĊĠĠĠ Ġfun Ġtest Term GreaterThan () ĊĠĠĠ Ġfun Ġtest Term GreaterThan OrEqual () ĊĠĠĠ Ġfun Ġtest Term Same () ĊĠĠĠ Ġfun Ġtest Term Not Same () ĊĠĠĠ Ġfun Ġtest Term Lower Than () ĊĠĠĠ Ġfun Ġtest Term Lower Than OrEqual () ĊĊĠĠĠ Ġ/** Ġatom _ chars / 2 Ġtest Ġ*/ ĊĠĠĠ Ġfun Ġtest Atom Chars () ĊĊĠĠĠ Ġ/** Ġatom _ length Ġtest Ġ*/ ĊĠĠĠ Ġfun Ġtest Atom Length () ĊĊĠĠĠ Ġ/** Ġchar _ code / 2 Ġtest Ġ*/ ĊĠĠĠ Ġfun Ġtest CharCode () ĊĊĠĠĠ Ġ/** Ġatom _ codes / 2 Ġtest Ġ*/ ĊĠĠĠ Ġfun Ġtest Atom Codes () ĊĊĠĠĠ Ġ/** Ġatom _ concat / 3 Ġtest Ġ*/ ĊĠĠĠ Ġfun Ġtest Atom Concat () Ċ } ĊĊ