Permalink
Browse files

less chatty travis tests

  • Loading branch information...
cmungall committed Sep 6, 2016
1 parent d0f976c commit a2be62e034f675111581c597542cbc0475c603a9
View
@@ -7,6 +7,8 @@ branches:
only:
- master
script: mvn test -Dlog4j.configuration=file:`pwd`/owlsim-core/src/test/resources/log4j-travis.properties
#before_install:
# - cd owlsim-core; make
@@ -78,16 +78,16 @@ public void cptTest() throws OWLOntologyCreationException, NoRootException, URIS
for (String did : kb.getClassIdsInSignature()) {
int dix = kb.getClassIndex(did);
Double p = cpi.getConditionalProbabilityChildIsOn(cix, dix);
System.out.println(cid + " | "+ did +" == "+p);
//System.out.println(cid + " | "+ did +" == "+p);
int numCandP = kb.getIndividualsBM(cix).andCardinality(kb.getIndividualsBM(dix));
System.out.println(kb.getIndividualsBM(cix).cardinality());
System.out.println(kb.getIndividualsBM(cix).cardinality());
System.out.println(na[cix]);
System.out.println(na[dix]);
System.out.println(" AND == "+numCandP);
for (int x : kb.getIndividualsBM(cix).getPositions()) {
System.out.println(" XX:" + kb.getIndividualId(x));
}
// System.out.println(kb.getIndividualsBM(cix).cardinality());
// System.out.println(kb.getIndividualsBM(cix).cardinality());
// System.out.println(na[cix]);
// System.out.println(na[dix]);
// System.out.println(" AND == "+numCandP);
// for (int x : kb.getIndividualsBM(cix).getPositions()) {
// System.out.println(" XX:" + kb.getIndividualId(x));
// }
Assert.assertTrue(p >= 0.0);
Assert.assertTrue(p <= 1.0);
if (cid.equals(did)) {
@@ -0,0 +1,6 @@
log4j.rootLogger=ERROR, Appender1
log4j.appender.Appender1=org.apache.log4j.ConsoleAppender
log4j.appender.Appender1.layout=org.apache.log4j.PatternLayout
log4j.appender.Appender1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

0 comments on commit a2be62e

Please sign in to comment.