BlockTests ConstructorTopLeft 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 ConstructorTopLeft()
Examples

[Test, CloseAfterFirstFrame]
public void ConstructorTopLeft()
{
    var block = new Block(displayMode, content, new Vector2D(1, 2));
    Assert.AreEqual(1, block.Left);
    Assert.AreEqual(2, block.Top);
}
See Also