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, CloseAfterFirstFrame] public void IsBallReleasedAfterSpacePressed() { if (!IsMockResolver) return; //ncrunch: no coverage var ball = Resolve<TestBall>(); Resolve<Paddle>(); PressSpaceOneTick(); Assert.IsFalse(ball.IsCurrentlyOnPaddle); Assert.AreNotEqual(0.5f, ball.Position.X); }
See Also