public void OccupiedNode_NoStatus_Occupied() { NodeState state = NodeState.Occupied; NodeState testResult = WorldRules.GetNewState(state, ""); Assert.AreEqual(NodeState.Occupied, testResult); }
public void EmptyNode_NoArrival_Empty() { NodeState state = NodeState.Empty; NodeState testResult = WorldRules.GetNewState(state, "empty"); Assert.AreEqual(NodeState.Empty, testResult); }
public void OccupiedNode_EntityMoved_Empty() { NodeState state = NodeState.Occupied; NodeState testResult = WorldRules.GetNewState(state, "empty"); Assert.AreEqual(NodeState.Empty, testResult); }
public void EmptyNode_EntityArrived_Occupied() { NodeState state = NodeState.Empty; NodeState testResult = WorldRules.GetNewState(state, "occupied"); Assert.AreEqual(NodeState.Occupied, testResult); }