public void MonsterUpdatePage_OnSlideValueChanged_AttackSlider_Default_Should_Pass() { // Arrange Slider attackSlider = (Slider)page.FindByName("Attack_Slider"); attackSlider.Value = 3; // Act OnSliderValueChanged(attackSlider, null); // Reset // Assert Assert.IsTrue(true); }
public void MonsterUpdatePage_AttackSlider_OnSliderValueChanged_Default_Should_Pass() { // Arrange double oldValue = 0.0; double newValue = 5.0; Slider ValueSlider = (Slider)page.FindByName("AttackSlider"); var args = new ValueChangedEventArgs(oldValue, newValue); // Act page.OnSliderChanged(ValueSlider, args); // Reset // Assert Assert.IsTrue(true); // Got to here, so it happened... }