public void BracketOperator_PlayerSeat_SetPlayerAtThatSeat() { HandHistoryPlayerCollection players = new HandHistoryPlayerCollection(); HandHistoryPlayer player = new HandHistoryPlayer("Nothing", 100); players[3] = player; Assert.AreSame(player, players[3]); }
public void BracketOperatorString_DontSet_ReturnEmptyPlayer() { HandHistoryPlayerCollection players = new HandHistoryPlayerCollection(); Assert.AreSame(HandHistoryPlayer.Empty, players["somebody"]); }
public HandHistory() { _players = new HandHistoryPlayerCollection(); }
public void BracketOperatorInt_DontSet_ReturnEmptyPlayer() { HandHistoryPlayerCollection players = new HandHistoryPlayerCollection(); Assert.AreSame(HandHistoryPlayer.Empty, players[3]); }
public HandHistory(HandHistoryPlayerCollection players) { _players = players; }