Ejemplo n.º 1
0
        public void TestRemoveBySubjectPredicateObjectDoesNotRemoveLiteralMatches()
        {
            var c = new TripleCollection();

            c.AddRange(new [] { T2, T3 });
            c.RemoveBySubjectPredicateObject("http://example.org/s", "http://example.org/p", "http://example.org/o");
            Assert.AreEqual(1, c.Count());
            Assert.IsTrue(c.Items.Any(x => x.Equals(T3)));
        }