public void Position() { var guide = new HorizontalGuide(_image, _height / 2); Assert.AreEqual(OrientationType.Horizontal, guide.Orientation); Assert.AreEqual(_height / 2, guide.Position); }
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()); }