TilemapTests TestBorderIntersection Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void TestBorderIntersection()
Examples

[Test, Category("Slow")]
public void TestBorderIntersection()
{
    new ColoredLogoTilemap(new Size(1), new Size(1));
    if (!IsMockResolver)
        return;
    var keyboard = Resolve<MockKeyboard>();
    keyboard.SetKeyboardState(Key.D, State.Pressed);
    AdvanceTimeAndUpdateEntities(1);
    keyboard.SetKeyboardState(Key.S, State.Pressed);
    AdvanceTimeAndUpdateEntities(1);
} // ncrunch: no coverage end
See Also