Unit tests for Soundbank class
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
Blocks.Tests SoundbankTests
Namespace: Blocks.Tests
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The SoundbankTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SoundbankTests | Initializes a new instance of the SoundbankTests 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 soundbank = new Soundbank(new JewelBlocksContent()); Assert.IsNotNull(soundbank.BlockAffixed); Assert.IsNotNull(soundbank.BlockCouldNotMove); Assert.IsNotNull(soundbank.BlockMoved); Assert.IsNotNull(soundbank.GameLost); Assert.IsNotNull(soundbank.MultipleRowsRemoved); Assert.IsNotNull(soundbank.RowRemoved); }
See Also