JewelBlocksContentTests ClassDelta Engine Documentation
Unit test for JewelBlocksContent View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms TestWithMocksOrVisually
    Blocks.Tests JewelBlocksContentTests

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

public class JewelBlocksContentTests : TestWithMocksOrVisually

The JewelBlocksContentTests type exposes the following members.

Constructors

  NameDescription
Public methodJewelBlocksContentTests
Initializes a new instance of the JewelBlocksContentTests class
Top
Methods

  NameDescription
Protected methodAdvanceTimeAndUpdateEntities (Inherited from TestWithMocksOrVisually.)
Public methodConstructor
Public methodInitializeResolver (Inherited from TestWithMocksOrVisually.)
Protected methodRegisterMock T  (Inherited from TestWithMocksOrVisually.)
Protected methodResolve T  (Inherited from TestWithMocksOrVisually.)
Protected methodRunAfterFirstFrame (Inherited from TestWithMocksOrVisually.)
Public methodRunTestAndDisposeResolverWhenDone (Inherited from TestWithMocksOrVisually.)
Top
Properties

  NameDescription
Protected propertyIsMockResolver (Inherited from TestWithMocksOrVisually.)
Top
Examples

[Test, CloseAfterFirstFrame]
public void Constructor()
{
    var content = new JewelBlocksContent();
    Assert.AreEqual("JewelBlocks_", content.Prefix);
    Assert.IsTrue(content.AreFiveBrickBlocksAllowed);
    Assert.IsFalse(content.DoBricksSplitInHalfWhenRowFull);
}
See Also