Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void ClickingRadioButtonSelectsIt() { if (mouse == null) return; // ncrunch: no coverage var buttons = dialog.Get<List<RadioButton>>(); Assert.IsFalse(buttons[1].State.IsSelected); PressAndReleaseMouse(Vector2D.One); Assert.IsFalse(buttons[1].State.IsSelected); PressAndReleaseMouse(new Vector2D(0.35f, 0.5f)); Assert.IsTrue(buttons[1].State.IsSelected); }
See Also