Class ActiveCameraSelectorTests
Guards TrySelect(IReadOnlyList<CameraCandidate>, out CameraCandidate) — the depth-priority policy used whenever no explicit override or explicit selection picks the active camera. These are the load-bearing contracts: only screen-drawing candidates are eligible regardless of depth, the highest depth among eligible candidates wins, and an empty or all-ineligible input must fail cleanly rather than return a default candidate silently.
Inherited Members
Namespace: Serenity.GameCamera.Tests.Domain
Assembly: Tests.dll
Syntax
public class ActiveCameraSelectorTests
Constructors
ActiveCameraSelectorTests()
Declaration
public ActiveCameraSelectorTests()
Methods
TrySelect_ExcludesCandidatesThatDoNotDrawToScreen()
Declaration
public void TrySelect_ExcludesCandidatesThatDoNotDrawToScreen()
TrySelect_PicksHighestDepthAmongDrawingCandidates()
Declaration
public void TrySelect_PicksHighestDepthAmongDrawingCandidates()
TrySelect_WhenListEmpty_ReturnsFalse()
Declaration
public void TrySelect_WhenListEmpty_ReturnsFalse()
TrySelect_WhenNoCandidateDrawsToScreen_ReturnsFalse()
Declaration
public void TrySelect_WhenNoCandidateDrawsToScreen_ReturnsFalse()