Class FeedbackScalerTests
Guards Scale(FeedbackIntensity, float, bool) — the single place global enable/intensity rules are applied to every impulse before it reaches a channel. These are the load-bearing contracts: disabling must silence, intensity must scale linearly, amplitudes must clamp, and duration must survive scaling so the auto-stop timer stays correct.
Inherited Members
Namespace: Serenity.Feedback.Tests.Domain
Assembly: Tests.dll
Syntax
public class FeedbackScalerTests
Constructors
FeedbackScalerTests()
Declaration
public FeedbackScalerTests()
Methods
Scale_ClampsGlobalIntensityAboveOne()
Declaration
public void Scale_ClampsGlobalIntensityAboveOne()
Scale_ClampsGlobalIntensityBelowZero()
Declaration
public void Scale_ClampsGlobalIntensityBelowZero()
Scale_ClampsInputAmplitudesBeforeScaling()
Declaration
public void Scale_ClampsInputAmplitudesBeforeScaling()
Scale_MultipliesAmplitudesByGlobalIntensity()
Declaration
public void Scale_MultipliesAmplitudesByGlobalIntensity()
Scale_PreservesDuration()
Declaration
public void Scale_PreservesDuration()
Scale_WhenDisabled_IsSilent()
Declaration
public void Scale_WhenDisabled_IsSilent()
Scale_WhenDisabled_PreservesDuration()
Declaration
public void Scale_WhenDisabled_PreservesDuration()