Пример #1
0
        public virtual void testGetUlinked()
        {
            UnLinkFinder uf = new UnLinkFinder();
            VElement     v  = uf.getUnlinkedResources(n);

            Assert.AreEqual(1, v.Count);
            Assert.IsTrue(v.Contains(rl));
        }
Пример #2
0
        public virtual void testEraseUlinked()
        {
            UnLinkFinder uf = new UnLinkFinder();

            uf.eraseUnlinkedResources(n);
            VElement v = uf.getUnlinkedResources(n);

            Assert.IsNull(v);
        }