Unit test for FruitBlocksContent
View code on GitHub
Inheritance Hierarchy
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
The FruitBlocksContentTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FruitBlocksContentTests | Initializes a new instance of the FruitBlocksContentTests class |
Methods
Name | Description | |
---|---|---|
AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) | |
Constructor | ||
InitializeResolver | (Inherited from TestWithMocksOrVisually.) | |
RegisterMock T | (Inherited from TestWithMocksOrVisually.) | |
Resolve T | (Inherited from TestWithMocksOrVisually.) | |
RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) | |
RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
Properties
Name | Description | |
---|---|---|
IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
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