Ejemplo n.º 1
0
 public void AddTest3()
 {
     MapWindow.Interfaces.Layers target              = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
     MapWinGIS.Image             ImageObject         = null;                   // TODO: Initialize to an appropriate value
     MapWinGIS.Image             ImageObjectExpected = null;                   // TODO: Initialize to an appropriate value
     MapWindow.Interfaces.Layer  expected            = null;                   // TODO: Initialize to an appropriate value
     MapWindow.Interfaces.Layer  actual;
     actual = target.Add(ref ImageObject);
     Assert.AreEqual(ImageObjectExpected, ImageObject);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Ejemplo n.º 2
0
        public void AddTest2()
        {
            MapWindow.Interfaces.Layers target = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
            string Filename        = string.Empty;                       // TODO: Initialize to an appropriate value
            string LayerName       = string.Empty;                       // TODO: Initialize to an appropriate value
            bool   VisibleInLegend = false;                              // TODO: Initialize to an appropriate value

            MapWindow.Interfaces.Layer expected = null;                  // TODO: Initialize to an appropriate value
            MapWindow.Interfaces.Layer actual;
            actual = target.Add(Filename, LayerName, VisibleInLegend);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 3
0
        public void AddTest11()
        {
            MapWindow.Layers target                  = new MapWindow.Layers(); // TODO: Initialize to an appropriate value
            Shapefile        ShapefileObject         = null;                   // TODO: Initialize to an appropriate value
            Shapefile        ShapefileObjectExpected = null;                   // TODO: Initialize to an appropriate value
            string           LayerName               = string.Empty;           // TODO: Initialize to an appropriate value
            int Color        = 0;                                              // TODO: Initialize to an appropriate value
            int OutlineColor = 0;                                              // TODO: Initialize to an appropriate value

            MapWindow.Interfaces.Layer expected = null;                        // TODO: Initialize to an appropriate value
            MapWindow.Interfaces.Layer actual;
            actual = target.Add(ref ShapefileObject, LayerName, Color, OutlineColor);
            Assert.AreEqual(ShapefileObjectExpected, ShapefileObject);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }