public void ShouldScrollRight() { double initialValue = hScrollBar.Value; hScrollBar.ScrollRight(); Assert.AreEqual(true, hScrollBar.Value > initialValue); }
void ShouldScrollRight() { double initialValue = hScrollBar.Value; hScrollBar.ScrollRight(); Assert.True(hScrollBar.Value > initialValue); }
public void ShouldScrollRightTest() { var initialValue = hScrollBar.Value; hScrollBar.ScrollRight(); Assert.That(hScrollBar.Value, Is.GreaterThan(initialValue)); }