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"]);
 }
Esempio n. 3
0
 public HandHistory()
 {
     _players = new HandHistoryPlayerCollection();
 }
 public void BracketOperatorInt_DontSet_ReturnEmptyPlayer()
 {
     HandHistoryPlayerCollection players = new HandHistoryPlayerCollection();
     Assert.AreSame(HandHistoryPlayer.Empty, players[3]);
 }
Esempio n. 5
0
 public HandHistory(HandHistoryPlayerCollection players)
 {
     _players = players;
 }