示例#1
0
        public void NewVerticalGuide()
        {
            var guide = new VerticalGuide(_image, _height / 2);
              Assert.AreEqual(OrientationType.Vertical, guide.Orientation);
              Assert.AreEqual(1, CountGuides());

              guide.Delete();
              Assert.AreEqual(0, CountGuides());
        }
示例#2
0
        public void NewVerticalGuide()
        {
            var guide = new VerticalGuide(_image, _height / 2);

            Assert.AreEqual(OrientationType.Vertical, guide.Orientation);
            Assert.AreEqual(1, CountGuides());

            guide.Delete();
            Assert.AreEqual(0, CountGuides());
        }