Ejemplo n.º 1
0
        public void ExportToString()
        {
            var    vector = new Vectors(_image, "firstVector");
            string s      = vector.ExportToString();

            Assert.IsNotNull(s);
        }
Ejemplo n.º 2
0
        public void ImportFromString()
        {
            string name   = "firstVector";
            var    vector = new Vectors(_image, name);
            string s      = vector.ExportToString();

            var vectors = _image.ImportVectorsFromString(s, false, false);

            Assert.AreEqual(1, vectors.Count);
            Assert.AreEqual(name, vectors[0].Name);
        }
Ejemplo n.º 3
0
        public void ImportFromString()
        {
            string name = "firstVector";
              var vector = new Vectors(_image, name);
              string s = vector.ExportToString();

              var vectors = _image.ImportVectorsFromString(s, false, false);
              Assert.AreEqual(1, vectors.Count);
              Assert.AreEqual(name, vectors[0].Name);
        }
Ejemplo n.º 4
0
 public void ExportToString()
 {
     var vector = new Vectors(_image, "firstVector");
       string s = vector.ExportToString();
       Assert.IsNotNull(s);
 }