phyloref / phylo2owl

Tool to convert phylogenies to OWL ontologies
MIT License
4 stars 2 forks source link

Additional SHACL tests and tests for the SHACL tests themselves #16

Closed gaurav closed 7 years ago

gaurav commented 7 years ago

In this pull request, I add the SHACL-based tests I suggested in http://www.phyloref.org/blog/2016/10/validating-shapes/, namely:

I also add a test script that deliberately constructs invalid trees to ensure that the SHACL tests catch them. This lead to me rearranging the SHACL code somewhat.

hlapp commented 7 years ago

@gaurav I'll leave it to you to merge in the way (merge, squash, or rebase) you feel is most appropriate.