Namespace: Drench.Tests
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame, Ignore] public void ChangeGameWidth() { Assert.AreEqual("Board Size: 10 x 10", menu.boardSize.Text); SetMouseState(State.Pressing, new Vector2D(0.75f, 0.31f)); SetMouseState(State.Pressed, new Vector2D(0.8f, 0.31f)); SetMouseState(State.Released, new Vector2D(0.8f, 0.31f)); if (!IsMockResolver) return; Assert.AreEqual("Board Size: 12 x 10", menu.boardSize.Text); SetMouseState(State.Pressing, new Vector2D(0.75f, 0.376f)); SetMouseState(State.Pressed, new Vector2D(0.8f, 0.376f)); SetMouseState(State.Released, new Vector2D(0.8f, 0.376f)); Assert.AreEqual("Board Size: 12 x 12", menu.boardSize.Text); }
See Also