Class UnityAudioDepthCueVoiceStateRouteTests
Tests for the route a depth-cue voice carries: it starts unrouted, its heard distance is the straight distance to its source until a route adds metres, it follows the route a step at a time, and it forgets the route and the portal-leg memory with the rest of the play state. The snapshot of a voice reports the route it was built with, unrouted unless it was given one.
Inherited Members
Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityAudioDepthCueVoiceStateRouteTests
Constructors
UnityAudioDepthCueVoiceStateRouteTests()
Declaration
public UnityAudioDepthCueVoiceStateRouteTests()
Methods
ClearPlayState_ForgetsTheRouteAndThePortalLegMemory()
Declaration
public void ClearPlayState_ForgetsTheRouteAndThePortalLegMemory()
FollowRoute_RoutedVoice_HearsTheSourceFartherThanTheStraightLineButNotFartherThanThePath()
Declaration
public void FollowRoute_RoutedVoice_HearsTheSourceFartherThanTheStraightLineButNotFartherThanThePath()
FollowRoute_UnroutedVoice_StaysAtTheStraightDistanceExactly()
Declaration
public void FollowRoute_UnroutedVoice_StaysAtTheStraightDistanceExactly()
FollowRoute_VoiceHeardStraight_HasNothingToMove()
Declaration
public void FollowRoute_VoiceHeardStraight_HasNothingToMove()
NewVoice_IsUnroutedAndHeardAtTheStraightDistanceExactly()
Declaration
public void NewVoice_IsUnroutedAndHeardAtTheStraightDistanceExactly()
PortalLegMemory_IsNotTheMemoryOfTheDirectQuestion()
Declaration
public void PortalLegMemory_IsNotTheMemoryOfTheDirectQuestion()
ResetCueTracking_KeepsTheRouteOfThePlay()
Declaration
public void ResetCueTracking_KeepsTheRouteOfThePlay()
SetUp()
Declaration
public void SetUp()
SettleRoute_RoutedVoice_HearsTheSourceAtThePathLength()
Declaration
public void SettleRoute_RoutedVoice_HearsTheSourceAtThePathLength()
Snapshot_BuiltWithARoute_ReportsItAndThePortal()
Declaration
public void Snapshot_BuiltWithARoute_ReportsItAndThePortal()
Snapshot_BuiltWithoutARoute_IsUnrouted()
Declaration
public void Snapshot_BuiltWithoutARoute_IsUnrouted()
StopRouting_LeavesTheRouteKeepsTheExtraAndForgetsTheLegMemory()
Declaration
public void StopRouting_LeavesTheRouteKeepsTheExtraAndForgetsTheLegMemory()
TearDown()
Declaration
public void TearDown()