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.
Inherited Members
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()