logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FeedbackPulseExpanderTests

    Guards Expand(FeedbackIntensity, float, float, float) — the pure step-generation rule an authored pulse frequency/duty cycle turns into, which PulseVibrationEffect and the Unity pattern player both rely on.

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

    Constructors

    FeedbackPulseExpanderTests()

    Declaration
    public FeedbackPulseExpanderTests()

    Methods

    Expand_DutyCycleAboveOne_Should_ClampToPeriod()

    Declaration
    public void Expand_DutyCycleAboveOne_Should_ClampToPeriod()

    Expand_DutyCycleAtOrBelowZero_Should_ClampAboveZero()

    Declaration
    public void Expand_DutyCycleAtOrBelowZero_Should_ClampAboveZero()

    Expand_LastStep_IsTruncatedToFitTotalDuration()

    Declaration
    public void Expand_LastStep_IsTruncatedToFitTotalDuration()

    Expand_OnTime_EqualsDutyCycleOverPeriod()

    Declaration
    public void Expand_OnTime_EqualsDutyCycleOverPeriod()

    Expand_PreservesPeakAmplitudes()

    Declaration
    public void Expand_PreservesPeakAmplitudes()

    Expand_StepCount_MatchesCeilingOfFrequencyTimesDuration()

    Declaration
    public void Expand_StepCount_MatchesCeilingOfFrequencyTimesDuration()

    Expand_StepOffsets_AreExactPeriodMultiples()

    Declaration
    public void Expand_StepOffsets_AreExactPeriodMultiples()

    Expand_ZeroDuration_Should_ReturnNoSteps()

    Declaration
    public void Expand_ZeroDuration_Should_ReturnNoSteps()

    Expand_ZeroOrNegativeFrequency_Should_ReturnSingleFullDurationStep()

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