FruitBlocksContentTests ClassDelta Engine Documentation
Unit test for FruitBlocksContent View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms TestWithMocksOrVisually
    Blocks.Tests FruitBlocksContentTests

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

public class FruitBlocksContentTests : TestWithMocksOrVisually

The FruitBlocksContentTests type exposes the following members.

Constructors

  NameDescription
Public methodFruitBlocksContentTests
Initializes a new instance of the FruitBlocksContentTests 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 FruitBlocksContent();
    Assert.AreEqual("FruitBlocks_", content.Prefix);
    Assert.IsTrue(content.AreFiveBrickBlocksAllowed);
    Assert.IsTrue(content.DoBricksSplitInHalfWhenRowFull);
}
See Also