ControllerTests CurrentBlockBeingNullWillNotCrashMovement Method Delta Engine Documentation

Namespace: Blocks.Tests
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CurrentBlockBeingNullWillNotCrashMovement()
Examples

[Test, CloseAfterFirstFrame]
public void CurrentBlockBeingNullWillNotCrashMovement()
{
    controller.FallingBlock = null;
    Assert.DoesNotThrow(controller.MoveBlockLeftIfPossible);
    Assert.DoesNotThrow(controller.MoveBlockRightIfPossible);
    Assert.DoesNotThrow(controller.RotateBlockAntiClockwiseIfPossible);
}
See Also