use owlish::api::Ontology; #[test] fn medium() { env_logger::try_init().ok(); let turtle = include_str!("../benches/medium.ttl"); harriet::TurtleDocument::parse_full(turtle) .map_err(|e| format!("{}...", &format!("{:?}", e)[..200])) .expect("Could not parse with harriet"); let o = Ontology::parse(turtle, Default::default()).unwrap(); assert_eq!(o.declarations().len(), 1914); // TODO: not sure how this "correct number was originally determined // assert_eq!(o.axioms().len(), 806); }