Namespace: Blocks.Tests
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void Constructor() { var brick = new Brick(material, Vector2D.Half, displayMode); Assert.AreEqual(Vector2D.Half, brick.Offset); }
[Test, CloseAfterFirstFrame] public void Offset() { var brick = new Brick(material, Vector2D.Zero, displayMode) { Offset = Vector2D.Half }; Assert.AreEqual(Vector2D.Half, brick.Offset); }
See Also