Namespace: Breakout.Tests
Assembly: Breakout.Tests (in Breakout.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: Breakout.Tests (in Breakout.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, Ignore] public void HowToPlay() { if (!IsMockResolver) return; //ncrunch: no coverage var mouse = Resolve<MockMouse>(); ClickAtPosition(mouse, new Vector2D(0.31f, 0.45f)); Assert.IsFalse(menu.Controls[0].IsVisible); ClickAtPosition(mouse, new Vector2D(0.31f, ScreenSpace.Current.Bottom - 0.19f)); Assert.IsTrue(menu.Controls[0].IsVisible); }
See Also