logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RailPathBehaviorTests

    Additional behavioral tests for the RailPath entity.

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

    Constructors

    RailPathBehaviorTests()

    Declaration
    public RailPathBehaviorTests()

    Methods

    Ctor_CopiesSource_MutatingSourceListDoesNotAffectPath()

    Declaration
    public void Ctor_CopiesSource_MutatingSourceListDoesNotAffectPath()

    Ctor_EmptyEnumerable_CreatesEmpty()

    Declaration
    public void Ctor_EmptyEnumerable_CreatesEmpty()

    GetNode_FirstIndex_ReturnsFirstNode()

    Declaration
    public void GetNode_FirstIndex_ReturnsFirstNode()

    GetNode_IndexEqualToCount_Throws()

    Declaration
    public void GetNode_IndexEqualToCount_Throws()

    GetNode_LastIndex_ReturnsLastNode()

    Declaration
    public void GetNode_LastIndex_ReturnsLastNode()

    GetNode_OnEmptyPath_Throws()

    Declaration
    public void GetNode_OnEmptyPath_Throws()

    Id_ExposesConstructorArgument()

    Declaration
    public void Id_ExposesConstructorArgument()

    IsValid_EmptyEnumerable_False()

    Declaration
    public void IsValid_EmptyEnumerable_False()

    IsValid_ExactlyTwoNodes_True()

    Declaration
    public void IsValid_ExactlyTwoNodes_True()

    Nodes_PreservesOrder()

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