Exemple #1
0
        public void Position()
        {
            var guide = new HorizontalGuide(_image, _height / 2);

            Assert.AreEqual(OrientationType.Horizontal, guide.Orientation);
            Assert.AreEqual(_height / 2, guide.Position);
        }
Exemple #2
0
        public void NewHorizontalGuide()
        {
            var guide = new HorizontalGuide(_image, _height / 2);
              Assert.AreEqual(OrientationType.Horizontal, guide.Orientation);
              Assert.AreEqual(1, CountGuides());

              guide.Delete();
              Assert.AreEqual(0, CountGuides());
        }
Exemple #3
0
        public void NewHorizontalGuide()
        {
            var guide = new HorizontalGuide(_image, _height / 2);

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

            guide.Delete();
            Assert.AreEqual(0, CountGuides());
        }
Exemple #4
0
 public void Position()
 {
     var guide = new HorizontalGuide(_image, _height / 2);
       Assert.AreEqual(OrientationType.Horizontal, guide.Orientation);
       Assert.AreEqual(_height / 2, guide.Position);
 }