public void ExportToString() { var vector = new Vectors(_image, "firstVector"); string s = vector.ExportToString(); Assert.IsNotNull(s); }
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); }