SizeTests CreateWithEqualWidthAndHeight Method Delta Engine Documentation

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

public void CreateWithEqualWidthAndHeight()
Examples

[Test]
public void CreateWithEqualWidthAndHeight()
{
    var size = new Size(-1.2f);
    Assert.AreEqual(-1.2f, size.Width);
    Assert.AreEqual(-1.2f, size.Height);
}
See Also