Class RailPathBehaviorTests
Additional behavioral tests for the RailPath entity.
Inherited Members
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()