logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Feedback.Tests.Application

    Classes

    FeedbackDefinitionDataTests

    Guards FeedbackDefinitionData: the legacy constructor synthesizes a single vibration effect (so consumers can always iterate Effects), and the multi-effect constructor stores effects.

    FeedbackEffectScaledTests

    Guards each effect's Scaled(globalIntensity) — the per-effect application of global intensity. Only the intended field scales; everything else is preserved; hit-stop is identity.

    FeedbackTargetTests

    Guards the FeedbackTarget factory helpers so the addressing mode each one encodes stays unambiguous — the infrastructure resolver depends on exactly one mode being set.

    PulseVibrationEffectTests

    Guards PulseVibrationEffect: its stable kind id, that Scaled scales only the peak amplitudes (frequency/duty/duration/HaveExitTime survive untouched — same contract as Scaled(float)), and that Steps matches what FeedbackPulseExpander produces for the same inputs.

    In this article
    © 2026 Serenity. All Rights Reserved