public void ShouldScrollLeft() { hScrollBar.ScrollRightLarge(); double valueBeforeScrollLeft = hScrollBar.Value; hScrollBar.ScrollLeft(); Assert.AreEqual(true, valueBeforeScrollLeft > hScrollBar.Value, hScrollBar.Value.ToString()); }
void ShouldScrollLeft() { hScrollBar.ScrollRightLarge(); double valueBeforeScrollLeft = hScrollBar.Value; hScrollBar.ScrollLeft(); Assert.True(valueBeforeScrollLeft > hScrollBar.Value); }
public void ShouldScrollLeftTest() { hScrollBar.ScrollRightLarge(); var valueBeforeScrollLeft = hScrollBar.Value; hScrollBar.ScrollLeft(); Assert.That(hScrollBar.Value, Is.LessThan(valueBeforeScrollLeft)); }