예제 #1
0
        public void VectorTile_Init_WidithHeight()
        {
            VectorTile v = new VectorTile(0, 0, 0, 512, 512);

            Assert.AreEqual(512, v.Width());
            Assert.AreEqual(512, v.Height());
        }
예제 #2
0
 public void VectorTile_Init()
 {
     VectorTile v = new VectorTile(0, 0, 0);
     Assert.AreEqual(256, v.Width());
     Assert.AreEqual(256, v.Height());
     Assert.IsFalse(v.Painted());
     Assert.AreEqual("", v.IsSolid());
     Assert.IsTrue(v.Empty());
     Assert.AreEqual(0, v.GetData().Length);
 }
예제 #3
0
        public void VectorTile_Init()
        {
            VectorTile v = new VectorTile(0, 0, 0);

            Assert.AreEqual(256, v.Width());
            Assert.AreEqual(256, v.Height());
            Assert.IsFalse(v.Painted());
            Assert.AreEqual("", v.IsSolid());
            Assert.IsTrue(v.Empty());
            Assert.AreEqual(0, v.GetData().Length);
        }
예제 #4
0
 public void VectorTile_Init_WidithHeight()
 {
     VectorTile v = new VectorTile(0, 0, 0, 512, 512);
     Assert.AreEqual(512, v.Width());
     Assert.AreEqual(512, v.Height());
 }