aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox
diff options
context:
space:
mode:
authorRncLsn <rnc.lsn@gmail.com>2015-08-03 17:07:39 +0100
committerRncLsn <rnc.lsn@gmail.com>2015-08-03 17:07:39 +0100
commit0c39145b3b76b3db73db0a38d5324caa7ff3c434 (patch)
tree388c97e1460d4180e74b531e048a60fc62963c5a /test/uk/ac/ox
parent02cf14060d3b9e722480e07ebfd32538bbb8e73b (diff)
downloadACQuA-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/uk/ac/ox')
-rw-r--r--test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java3
-rw-r--r--test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java2
2 files changed, 3 insertions, 2 deletions
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
3import org.semanticweb.owlapi.apibinding.OWLManager; 3import org.semanticweb.owlapi.apibinding.OWLManager;
4import org.semanticweb.owlapi.model.*; 4import org.semanticweb.owlapi.model.*;
5import org.testng.Assert;
5import org.testng.annotations.Test; 6import org.testng.annotations.Test;
6import uk.ac.ox.cs.JRDFox.model.GroundTerm; 7import uk.ac.ox.cs.JRDFox.model.GroundTerm;
7import uk.ac.ox.cs.JRDFox.model.Individual; 8import 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 }