Пример #1
0
 public void AttachParasite()
 {
     var vectors = new Vectors(_image, "firstVector");
       var parasite = new Parasite("foo", 0, 13);
       vectors.AttachParasite(parasite);
       Assert.AreEqual(1, vectors.ParasiteList.Count);
 }
Пример #2
0
        public void AttachParasite()
        {
            var vectors  = new Vectors(_image, "firstVector");
            var parasite = new Parasite("foo", 0, 13);

            vectors.AttachParasite(parasite);
            Assert.AreEqual(1, vectors.ParasiteList.Count);
        }
Пример #3
0
        public void ParasiteFind()
        {
            var vectors  = new Vectors(_image, "firstVector");
            var parasite = new Parasite("foo", 0, 13);

            vectors.AttachParasite(parasite);
            var found = vectors.ParasiteFind("foo");

            Assert.AreEqual(parasite, found);
            Assert.IsNull(vectors.ParasiteFind("bar"));
        }
Пример #4
0
 public void ParasiteFind()
 {
     var vectors = new Vectors(_image, "firstVector");
       var parasite = new Parasite("foo", 0, 13);
       vectors.AttachParasite(parasite);
       var found = vectors.ParasiteFind("foo");
       Assert.AreEqual(parasite, found);
       Assert.IsNull(vectors.ParasiteFind("bar"));
 }