BodyTests TestEmptyRectangleShapeNotAllowed Method Delta Engine Documentation

Namespace: DeltaEngine.Physics2D.Farseer.Tests
Assembly: DeltaEngine.Physics2D.Farseer.Tests (in DeltaEngine.Physics2D.Farseer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void TestEmptyRectangleShapeNotAllowed()
Examples

[Test]
public void TestEmptyRectangleShapeNotAllowed()
{
    Assert.Throws<ArgumentOutOfRangeException>(() => physics.CreateRectangle(Size.Zero));
}
See Also