Unit test for JewelBlocksContent
View code on GitHub
Inheritance Hierarchy
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
The JewelBlocksContentTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JewelBlocksContentTests | Initializes a new instance of the JewelBlocksContentTests 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 JewelBlocksContent(); Assert.AreEqual("JewelBlocks_", content.Prefix); Assert.IsTrue(content.AreFiveBrickBlocksAllowed); Assert.IsFalse(content.DoBricksSplitInHalfWhenRowFull); }
See Also