Namespace: DeltaEngine.Scenes.Tests
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 ControlsDoNotRespondToInputWhenSceneIsHidden() { if (!IsMockResolver) return; //ncrunch: no coverage var button = CreateButton(); scene.Add(button); scene.Hide(); SetMouseState(State.Pressing, Vector2D.Half); Assert.AreEqual(NormalColor, button.Color); }
See Also