logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ConditionTests

    Tests for the inline Condition hierarchy: AlwaysTrue, Threshold (hysteresis), Range, And/Or/Not composites, plus validation messages. State is supplied via a FakeStateReader and UnityProceduralContext.

    Inheritance
    object
    ConditionTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityProceduralAnimator.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class ConditionTests

    Constructors

    ConditionTests()

    Declaration
    public ConditionTests()

    Methods

    AlwaysTrue_IsMet_AlwaysTrue()

    Declaration
    public void AlwaysTrue_IsMet_AlwaysTrue()

    And_AllMet_IsTrue()

    Declaration
    public void And_AllMet_IsTrue()

    And_Empty_IsTrue()

    Declaration
    public void And_Empty_IsTrue()

    And_OneFails_IsFalse()

    Declaration
    public void And_OneFails_IsFalse()

    Composite_Reset_DoesNotThrow()

    Declaration
    public void Composite_Reset_DoesNotThrow()

    Not_InvertsChild()

    Declaration
    public void Not_InvertsChild()

    Not_NullChild_IsTrue()

    Declaration
    public void Not_NullChild_IsTrue()

    Not_Validate_RequiresChild()

    Declaration
    public void Not_Validate_RequiresChild()

    Or_Empty_IsFalse()

    Declaration
    public void Or_Empty_IsFalse()

    Or_NoneMet_IsFalse()

    Declaration
    public void Or_NoneMet_IsFalse()

    Or_OneMet_IsTrue()

    Declaration
    public void Or_OneMet_IsTrue()

    Range_Exclusive_BoundaryIsFalse()

    Declaration
    public void Range_Exclusive_BoundaryIsFalse()

    Range_Inclusive_WithinRange_IsTrue()

    Declaration
    public void Range_Inclusive_WithinRange_IsTrue()

    Range_NullKey_IsFalse()

    Declaration
    public void Range_NullKey_IsFalse()

    Range_Validate_DetectsInvertedBounds()

    Declaration
    public void Range_Validate_DetectsInvertedBounds()

    TearDown()

    Declaration
    public void TearDown()

    Threshold_Hysteresis_StaysActiveBetweenThresholds()

    Declaration
    public void Threshold_Hysteresis_StaysActiveBetweenThresholds()

    Threshold_InvertLogic_TriggersBelow()

    Declaration
    public void Threshold_InvertLogic_TriggersBelow()

    Threshold_NullKey_IsFalse()

    Declaration
    public void Threshold_NullKey_IsFalse()

    Threshold_Reset_DeactivatesState()

    Declaration
    public void Threshold_Reset_DeactivatesState()

    Threshold_RisingAboveEnter_BecomesActive()

    Declaration
    public void Threshold_RisingAboveEnter_BecomesActive()

    Threshold_Validate_RequiresKey()

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