Beispiel #1
0
        public void SlideThumbTest()
        {
            var slider = GetSlider();
            var thumb  = slider.Thumb;
            var oldPos = thumb.Properties.BoundingRectangle.Value.Center();

            thumb.SlideHorizontally(50);
            UtilityMethods.AssertPointsAreSame(thumb.Properties.BoundingRectangle.Value.Center(), new Point(oldPos.X + 50, oldPos.Y), 1);
        }