logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.ProceduralExpression.Tests.Domain

    Classes

    BoneIdTests

    ColorRGBABehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.ValueObjects.ColorRGBA beyond ColorRGBATests: epsilon-based equality tolerance, unclamped lerp beyond [0,1], hash inequality, inequality operator true/false branches, and culture-agnostic ToString format.

    ColorRGBATests

    IdValueObjectsBehaviorTests

    Additional behavioral coverage for the string-backed identifier value objects (Serenity.ProceduralExpression.Domain.ValueObjects.BoneId, Serenity.ProceduralExpression.Domain.ValueObjects.MaterialId, Serenity.ProceduralExpression.Domain.ValueObjects.TransformId, Serenity.ProceduralExpression.Domain.ValueObjects.StateKeyId) beyond their per-type tests: conversion round-trips, ordinal case sensitivity, inequality-operator false branch, and Equals(null) handling.

    MaterialDeltaBehaviorTests

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

    MaterialDeltaTests

    MaterialIdTests

    PoseDeltaBehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.Entities.PoseDelta beyond PoseDeltaTests: additive position accumulation math, quaternion multiplication accumulation, negative-weight clearing, the >= 1 early-out, rotation slerp on scale, clone independence for both maps, and combine into an empty target.

    PoseDeltaTests

    ProceduralContextBehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.Entities.ProceduralContext beyond ProceduralContextTests: custom default for missing keys, that GetState forwards the supplied default through to the reader, and that the same reader instance is retained (no defensive copy of the dependency).

    ProceduralContextTests

    QuaternionBehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.ValueObjects.Quaternion beyond QuaternionTests: multiplication correctness, Euler around each axis, AngleAxis magnitude, all three Slerp branches (clamping, shortest-path dot<0, near-identical lerp, general), normalization of already-unit input, and equality/hash edge cases.

    QuaternionTests

    StateKeyIdTests

    TimeInfoBehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.ValueObjects.TimeInfo beyond TimeInfoTests: negative/large values are stored verbatim, and ToString embeds the formatted values using a culture-agnostic comparison.

    TimeInfoTests

    TransformDeltaBehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.Entities.TransformDelta beyond TransformDeltaTests: Count/IsEmpty transitions, negative-weight clearing, scale clamping above one, GetEntries liveness, clone independence, and combine into an empty target.

    TransformDeltaTests

    TransformIdTests

    Vector3BehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.ValueObjects.Vector3 beyond Vector3Tests: general-case magnitude/normalize math, operator correctness, anti-commutativity of cross product, lerp midpoint, and hash-code inequality.

    Vector3Tests

    In this article
    © 2026 Serenity. All Rights Reserved