Exemplo n.º 1
0
        public void CanUpdateWWTTestWWTOnly()
        {
            LayerMap selectedlayer = new LayerMap(new Layer());
            bool     expected      = true;
            bool     actual;

            actual = LayerMapExtensions.CanUpdateWWT(selectedlayer);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void CanUpdateWWTTestWWTNone()
        {
            LayerMap selectedlayer = new LayerMap(new Layer());

            selectedlayer.MapType = LayerMapType.None;
            bool expected = false;
            bool actual;

            actual = LayerMapExtensions.CanUpdateWWT(selectedlayer);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 3
0
        public void CanUpdateWWTTestWWTLocalAndSync()
        {
            LayerMap selectedlayer = new LayerMap(new Layer());

            selectedlayer.MapType     = LayerMapType.LocalInWWT;
            selectedlayer.IsNotInSync = false;
            bool expected = true;
            bool actual;

            actual = LayerMapExtensions.CanUpdateWWT(selectedlayer);
            Assert.AreEqual(expected, actual);
        }