Пример #1
0
        public void ShouldScrollLeft()
        {
            hScrollBar.ScrollRightLarge();
            double valueBeforeScrollLeft = hScrollBar.Value;

            hScrollBar.ScrollLeft();
            Assert.AreEqual(true, valueBeforeScrollLeft > hScrollBar.Value, hScrollBar.Value.ToString());
        }
Пример #2
0
        void ShouldScrollLeft()
        {
            hScrollBar.ScrollRightLarge();
            double valueBeforeScrollLeft = hScrollBar.Value;

            hScrollBar.ScrollLeft();
            Assert.True(valueBeforeScrollLeft > hScrollBar.Value);
        }
Пример #3
0
        public void ShouldScrollLeftTest()
        {
            hScrollBar.ScrollRightLarge();
            var valueBeforeScrollLeft = hScrollBar.Value;

            hScrollBar.ScrollLeft();
            Assert.That(hScrollBar.Value, Is.LessThan(valueBeforeScrollLeft));
        }