logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MaterialDeltaBehaviorTests

    Additional behavioral coverage for MaterialDelta beyond MaterialDeltaTests: Count/IsEmpty transitions, negative-weight clearing, scale clamping above one, GetEntries liveness, clone independence, and combine into an empty target.

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

    Constructors

    MaterialDeltaBehaviorTests()

    Declaration
    public MaterialDeltaBehaviorTests()

    Methods

    Clone_MutatingClone_DoesNotAffectOriginal()

    Declaration
    public void Clone_MutatingClone_DoesNotAffectOriginal()

    Combine_IntoEmpty_CopiesEntries()

    Declaration
    public void Combine_IntoEmpty_CopiesEntries()

    Count_TracksDistinctIds()

    Declaration
    public void Count_TracksDistinctIds()

    GetEntries_ReflectsSubsequentMutation()

    Declaration
    public void GetEntries_ReflectsSubsequentMutation()

    IsEmpty_AfterSetThenClear_TogglesBack()

    Declaration
    public void IsEmpty_AfterSetThenClear_TogglesBack()

    Scale_AboveOne_LeavesWeightsUnchanged()

    Declaration
    public void Scale_AboveOne_LeavesWeightsUnchanged()

    Scale_Half_PreservesColorScalesWeight()

    Declaration
    public void Scale_Half_PreservesColorScalesWeight()

    Scale_Negative_ClearsAll()

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