Skip to content

Commit

Permalink
fix NegationAsFailure
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed Aug 31, 2020
1 parent 421bf34 commit 5df8904
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ sealed class NegationAsFailure : RuleWrapper<ExecutionContext>(FUNCTOR, ARITY) {
object Fail : NegationAsFailure() {
override val Scope.body: Term
get() = tupleOf(
structOf(EnsureExecutable.functor, varOf("X")),
varOf("X"),
structOf(Call.functor, varOf("X")),
MagicCut,
truthOf(false)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class TestClassicNotProvable : TestNotProvable, SolverFactory by ClassicSolverFa
}

@Test
@Ignore //solver returns no
override fun testNPCutFail() {
prototype.testNPCutFail()
}
Expand All @@ -41,7 +40,6 @@ class TestClassicNotProvable : TestNotProvable, SolverFactory by ClassicSolverFa
}

@Test
@Ignore //solver returns no
override fun testOrNotCutFail() {
prototype.testOrNotCutFail()
}
Expand Down

0 comments on commit 5df8904

Please sign in to comment.