@@ -85,7 +85,7 @@ public void ShouldDisposeGraphWithUsing()
85
85
RDFGraph graph ;
86
86
using ( graph = new RDFGraph ( [
87
87
new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFResource ( "http://obj/" ) ) ,
88
- new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFPlainLiteral ( "lit" ) ) ] ) )
88
+ new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFPlainLiteral ( "lit" ) ) ] ) )
89
89
{
90
90
Assert . IsFalse ( graph . Disposed ) ;
91
91
Assert . IsNotNull ( graph . IndexedTriples ) ;
@@ -1277,7 +1277,7 @@ public void ShouldIntersectGraphWithNull()
1277
1277
RDFTriple triple1 = new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFPlainLiteral ( "lit" ) ) ;
1278
1278
RDFTriple triple2 = new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFResource ( "http://obj/" ) ) ;
1279
1279
graph1 . AddTriple ( triple1 ) . AddTriple ( triple2 ) ;
1280
-
1280
+
1281
1281
RDFGraph intersect12 = graph1 . IntersectWith ( null ) ;
1282
1282
Assert . IsNotNull ( intersect12 ) ;
1283
1283
Assert . AreEqual ( 0 , intersect12 . TriplesCount ) ;
@@ -1290,7 +1290,7 @@ public void ShouldIntersectGraphWithSelf()
1290
1290
RDFTriple triple1 = new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFPlainLiteral ( "lit" ) ) ;
1291
1291
RDFTriple triple2 = new RDFTriple ( new RDFResource ( "http://subj/" ) , new RDFResource ( "http://pred/" ) , new RDFResource ( "http://obj/" ) ) ;
1292
1292
graph1 . AddTriple ( triple1 ) . AddTriple ( triple2 ) ;
1293
-
1293
+
1294
1294
RDFGraph intersect12 = graph1 . IntersectWith ( graph1 ) ;
1295
1295
Assert . IsNotNull ( intersect12 ) ;
1296
1296
Assert . AreEqual ( 2 , intersect12 . TriplesCount ) ;
@@ -1557,13 +1557,13 @@ public void ShouldImportFromFile(string fileExtension, RDFModelEnums.RDFFormats
1557
1557
//triples with a predicate ending with "/" will loose this character once abbreviated:
1558
1558
//this is correct (being a glitch of RDF/XML specs) so at the end the graphs will differ
1559
1559
if ( format == RDFModelEnums . RDFFormats . RdfXml )
1560
- {
1560
+ {
1561
1561
Assert . IsFalse ( graph2 . Equals ( graph1 ) ) ;
1562
1562
Assert . AreEqual ( 0 , graph2 . SelectTriplesByPredicate ( new RDFResource ( "http://ex/pred/" ) ) . TriplesCount ) ;
1563
1563
Assert . AreEqual ( 2 , graph2 . SelectTriplesByPredicate ( new RDFResource ( "http://ex/pred" ) ) . TriplesCount ) ;
1564
1564
}
1565
1565
else
1566
- {
1566
+ {
1567
1567
Assert . IsTrue ( graph2 . Equals ( graph1 ) ) ;
1568
1568
}
1569
1569
}
0 commit comments