logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AudioPortalRoutingPathTests

    Scenarios for the path rules of AudioPortalRouting: how long the way through a portal is, how much longer than the straight line, and which portal a voice is heard through without flipping between two near-equal ones.

    Inheritance
    object
    AudioPortalRoutingPathTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AudioPlayer.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class AudioPortalRoutingPathTests

    Constructors

    AudioPortalRoutingPathTests()

    Declaration
    public AudioPortalRoutingPathTests()

    Methods

    ExtraPathViaPortal_NeverNegative()

    Declaration
    public void ExtraPathViaPortal_NeverNegative()

    ExtraPathViaPortal_NotANumberPosition_IsPositiveInfinity()

    Declaration
    public void ExtraPathViaPortal_NotANumberPosition_IsPositiveInfinity()

    ExtraPathViaPortal_PortalAtTheListenerOrTheSource_IsZero()

    Declaration
    public void ExtraPathViaPortal_PortalAtTheListenerOrTheSource_IsZero()

    ExtraPathViaPortal_PortalOnTheLine_IsZero()

    Declaration
    public void ExtraPathViaPortal_PortalOnTheLine_IsZero()

    ExtraPathViaPortal_PortalToTheSide_IsThePathMinusTheDirectDistance()

    Declaration
    public void ExtraPathViaPortal_PortalToTheSide_IsThePathMinusTheDirectDistance()

    PathLengthViaPortal_IsSumOfBothLegs()

    Declaration
    public void PathLengthViaPortal_IsSumOfBothLegs()

    PathLengthViaPortal_PortalOnTheLine_EqualsTheDirectDistance()

    Declaration
    public void PathLengthViaPortal_PortalOnTheLine_EqualsTheDirectDistance()

    SelectPortal_EqualPaths_PicksLowestIndex()

    Declaration
    public void SelectPortal_EqualPaths_PicksLowestIndex()

    SelectPortal_InfinitePortals_AreNeverSelected()

    Declaration
    public void SelectPortal_InfinitePortals_AreNeverSelected()

    SelectPortal_ListenerAtTheSource_PicksTheNearestPortal()

    Declaration
    public void SelectPortal_ListenerAtTheSource_PicksTheNearestPortal()

    SelectPortal_NoPortals_ReturnsNoPortal()

    Declaration
    public void SelectPortal_NoPortals_ReturnsNoPortal()

    SelectPortal_NotANumberPortal_NeverSelected()

    Declaration
    public void SelectPortal_NotANumberPortal_NeverSelected()

    SelectPortal_OnlyNotANumberPortals_ReturnsNoPortal()

    Declaration
    public void SelectPortal_OnlyNotANumberPortals_ReturnsNoPortal()

    SelectPortal_OscillationWithinMargin_NeverSwitches()

    Declaration
    public void SelectPortal_OscillationWithinMargin_NeverSwitches()

    SelectPortal_OtherShorterBeyondMargin_TakesOver()

    Declaration
    public void SelectPortal_OtherShorterBeyondMargin_TakesOver()

    SelectPortal_PicksShortestPath()

    Declaration
    public void SelectPortal_PicksShortestPath()

    SelectPortal_PreviousExactlyAtTheMargin_IsKept()

    Declaration
    public void SelectPortal_PreviousExactlyAtTheMargin_IsKept()

    SelectPortal_PreviousOutOfRange_PicksShortest()

    Declaration
    public void SelectPortal_PreviousOutOfRange_PicksShortest()

    SelectPortal_PreviousWithinMargin_IsKept()

    Declaration
    public void SelectPortal_PreviousWithinMargin_IsKept()
    In this article
    © 2026 Serenity. All Rights Reserved