logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class HudPlacementResolverTests

    Inheritance
    object
    HudPlacementResolverTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameUi.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class HudPlacementResolverTests

    Constructors

    HudPlacementResolverTests()

    Declaration
    public HudPlacementResolverTests()

    Methods

    EveryGrowDirection_IsClassifiedOnExactlyOneAxis()

    Declaration
    public void EveryGrowDirection_IsClassifiedOnExactlyOneAxis()

    IsHorizontal_ClassifiesTheAxis(HudGrowDirection, bool)

    Declaration
    public void IsHorizontal_ClassifiesTheAxis(HudGrowDirection direction, bool expected)
    Parameters
    Type Name Description
    HudGrowDirection direction
    bool expected

    IsReversed_MatchesTheLayoutsNaturalOrder(HudGrowDirection, bool)

    Declaration
    public void IsReversed_MatchesTheLayoutsNaturalOrder(HudGrowDirection direction, bool expected)
    Parameters
    Type Name Description
    HudGrowDirection direction
    bool expected

    MirrorHorizontally_IsItsOwnInverseForEveryAnchor()

    Declaration
    public void MirrorHorizontally_IsItsOwnInverseForEveryAnchor()

    MirrorHorizontally_LeavesCentredAnchorsAlone(UiAnchorType)

    Declaration
    public void MirrorHorizontally_LeavesCentredAnchorsAlone(UiAnchorType anchor)
    Parameters
    Type Name Description
    UiAnchorType anchor

    MirrorHorizontally_ReversesOnlyHorizontalGrowth()

    Declaration
    public void MirrorHorizontally_ReversesOnlyHorizontalGrowth()

    MirrorHorizontally_SwapsTheHorizontalSide(UiAnchorType, UiAnchorType)

    Declaration
    public void MirrorHorizontally_SwapsTheHorizontalSide(UiAnchorType input, UiAnchorType expected)
    Parameters
    Type Name Description
    UiAnchorType input
    UiAnchorType expected

    Mirrored_ForOddPlayers()

    Declaration
    public void Mirrored_ForOddPlayers()

    NotMirrored_ForTheFirstPlayer()

    Declaration
    public void NotMirrored_ForTheFirstPlayer()

    NotMirrored_WhenMirroringIsOff()

    Declaration
    public void NotMirrored_WhenMirroringIsOff()

    NotMirrored_WhenTheElementIsNotPlayerScoped()

    Declaration
    public void NotMirrored_WhenTheElementIsNotPlayerScoped()

    NullElement_ResolvesToHarmlessDefaults()

    Declaration
    public void NullElement_ResolvesToHarmlessDefaults()

    PlayerOne_KeepsTheAuthoredPlacement()

    Declaration
    public void PlayerOne_KeepsTheAuthoredPlacement()

    PlayerTwo_FlipsAnchorOffsetAndGrowTogether()

    Declaration
    public void PlayerTwo_FlipsAnchorOffsetAndGrowTogether()

    ResolveRotationDegrees_ForNullElement_IsZero()

    Declaration
    public void ResolveRotationDegrees_ForNullElement_IsZero()

    ResolveRotationDegrees_ForTheFirstPlayer_ReturnsTheAuthoredValue()

    Declaration
    public void ResolveRotationDegrees_ForTheFirstPlayer_ReturnsTheAuthoredValue()

    ResolveRotationDegrees_WhenMirrored_NegatesTheAuthoredValue()

    Declaration
    public void ResolveRotationDegrees_WhenMirrored_NegatesTheAuthoredValue()

    ResolveRotationDegrees_WhenNotMirrored_ReturnsTheAuthoredValue()

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