#![cfg(feature = "nq")] use objio::ObjectReader; use rdftk_io::nq::NQuadReader; #[test] fn parse_simple_1() { let reader = NQuadReader::default(); assert!(reader.read_from_string( r###" . # comments here # or on a line by themselves _:subject1 "object1" . _:subject2 "object2" . "###).is_ok()); } #[test] fn parse_simple_2() { let reader = NQuadReader::default(); assert!(reader .read_from_string( r###" _:alice _:bob . _:bob _:alice . "###, ) .is_ok()); }