diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-08-03 17:07:39 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-08-03 17:07:39 +0100 |
| commit | 0c39145b3b76b3db73db0a38d5324caa7ff3c434 (patch) | |
| tree | 388c97e1460d4180e74b531e048a60fc62963c5a /test | |
| parent | 02cf14060d3b9e722480e07ebfd32538bbb8e73b (diff) | |
| download | ACQuA-0c39145b3b76b3db73db0a38d5324caa7ff3c434.tar.gz ACQuA-0c39145b3b76b3db73db0a38d5324caa7ff3c434.zip | |
The LimitedSkolemisation now employs a fixed-depth term instead of a constant. Performed some testing before merging with master.
Diffstat (limited to 'test')
| -rw-r--r-- | test/resources/BugTests.xml | 2 | ||||
| -rw-r--r-- | test/resources/MainTests.xml | 4 | ||||
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java | 3 | ||||
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/test/resources/BugTests.xml b/test/resources/BugTests.xml index 1413b5b..4844fbe 100644 --- a/test/resources/BugTests.xml +++ b/test/resources/BugTests.xml | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | <test name="BugTest"> | 6 | <test name="BugTest"> |
| 7 | <classes> | 7 | <classes> |
| 8 | <class name="uk.ac.ox.cs.pagoda.global_tests.BugTests"/> | 8 | <class name="uk.ac.ox.cs.pagoda.global_tests.BugTests"/> |
| 9 | <!--<class name="uk.ac.ox.cs.pagoda.endomorph.DependencyGraphTest"/>--> | 9 | <class name="uk.ac.ox.cs.pagoda.endomorph.DependencyGraphTest"/> |
| 10 | </classes> | 10 | </classes> |
| 11 | </test> | 11 | </test> |
| 12 | 12 | ||
diff --git a/test/resources/MainTests.xml b/test/resources/MainTests.xml index 255b68e..43300a1 100644 --- a/test/resources/MainTests.xml +++ b/test/resources/MainTests.xml | |||
| @@ -7,9 +7,9 @@ | |||
| 7 | <run> | 7 | <run> |
| 8 | <!--<include name="correctness"/>--> | 8 | <!--<include name="correctness"/>--> |
| 9 | <!--<include name="light"/>--> | 9 | <!--<include name="light"/>--> |
| 10 | <!--<include name="justExecute"/>--> | 10 | <include name="justExecute"/> |
| 11 | <!--<!–<include name="heavy"/>–>--> | 11 | <!--<!–<include name="heavy"/>–>--> |
| 12 | <include name="nonOriginal"/> | 12 | <!--<include name="nonOriginal"/>--> |
| 13 | </run> | 13 | </run> |
| 14 | </groups> | 14 | </groups> |
| 15 | <classes> | 15 | <classes> |
diff --git a/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java b/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java index eec1e8f..a4579a3 100644 --- a/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java +++ b/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java | |||
| @@ -2,6 +2,7 @@ package uk.ac.ox.cs.pagoda.endomorph; | |||
| 2 | 2 | ||
| 3 | import org.semanticweb.owlapi.apibinding.OWLManager; | 3 | import org.semanticweb.owlapi.apibinding.OWLManager; |
| 4 | import org.semanticweb.owlapi.model.*; | 4 | import org.semanticweb.owlapi.model.*; |
| 5 | import org.testng.Assert; | ||
| 5 | import org.testng.annotations.Test; | 6 | import org.testng.annotations.Test; |
| 6 | import uk.ac.ox.cs.JRDFox.model.GroundTerm; | 7 | import uk.ac.ox.cs.JRDFox.model.GroundTerm; |
| 7 | import uk.ac.ox.cs.JRDFox.model.Individual; | 8 | import uk.ac.ox.cs.JRDFox.model.Individual; |
| @@ -54,6 +55,6 @@ public class DependencyGraphTest { | |||
| 54 | 55 | ||
| 55 | dependencyGraph.build(tuples); | 56 | dependencyGraph.build(tuples); |
| 56 | 57 | ||
| 57 | System.out.println(dependencyGraph.getTopologicalOrder()); | 58 | Assert.assertTrue(dependencyGraph.getTopologicalOrder().size() >= 2); |
| 58 | } | 59 | } |
| 59 | } | 60 | } |
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java index a7a562d..42f0ac1 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | |||
| @@ -62,7 +62,7 @@ public class TestPagodaFLY { | |||
| 62 | // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) | 62 | // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) |
| 63 | .classify(false) | 63 | .classify(false) |
| 64 | .hermit(true) | 64 | .hermit(true) |
| 65 | .skolem(PagodaProperties.SkolemUpperBoundOptions.AFTER_SUMMARISATION) | 65 | .skolem(PagodaProperties.SkolemUpperBoundOptions.BEFORE_SUMMARISATION) |
| 66 | .build() | 66 | .build() |
| 67 | .run(); | 67 | .run(); |
| 68 | } | 68 | } |
