public void SparqlResultSetEquality() { SparqlXmlParser parser = new SparqlXmlParser(); SparqlRdfParser rdfparser = new SparqlRdfParser(); SparqlResultSet a = new SparqlResultSet(); SparqlResultSet b = new SparqlResultSet(); parser.Load(a, "resources\\list-3.srx"); parser.Load(b, "resources\\list-3.srx.out"); a.Trim(); b.Trim(); Assert.True(a.Equals(b)); a = new SparqlResultSet(); b = new SparqlResultSet(); parser.Load(a, "resources\\no-distinct-opt.srx"); parser.Load(b, "resources\\no-distinct-opt.srx.out"); a.Trim(); b.Trim(); Assert.True(a.Equals(b)); a = new SparqlResultSet(); b = new SparqlResultSet(); rdfparser.Load(a, "resources\\result-opt-3.ttl"); parser.Load(b, "resources\\result-opt-3.ttl.out"); a.Trim(); b.Trim(); Assert.True(a.Equals(b)); }