Grid2DTests RenderQuadraticGridWithSizeOfOne Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Shapes.Tests
Assembly: DeltaEngine.Rendering2D.Shapes.Tests (in DeltaEngine.Rendering2D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void RenderQuadraticGridWithSizeOfOne()
Examples

[Test]
public void RenderQuadraticGridWithSizeOfOne()
{
    var grid = new Grid2D(new Size(2), Vector2D.Half);
    AssertQuadraticGrid(2, grid);
    foreach (var line in grid.lines)
        Assert.IsTrue(line.IsActive);
}
See Also