コード例 #1
0
 public void BracketOperator_PlayerSeat_SetPlayerAtThatSeat()
 {
     HandHistoryPlayerCollection players = new HandHistoryPlayerCollection();
     HandHistoryPlayer player = new HandHistoryPlayer("Nothing", 100);
     players[3] = player;
     Assert.AreSame(player, players[3]);
 }
コード例 #2
0
 public void BracketOperatorString_DontSet_ReturnEmptyPlayer()
 {
     HandHistoryPlayerCollection players = new HandHistoryPlayerCollection();
     Assert.AreSame(HandHistoryPlayer.Empty, players["somebody"]);
 }
コード例 #3
0
ファイル: HandHistory.cs プロジェクト: hdinh/OmahaBot
 public HandHistory()
 {
     _players = new HandHistoryPlayerCollection();
 }
コード例 #4
0
 public void BracketOperatorInt_DontSet_ReturnEmptyPlayer()
 {
     HandHistoryPlayerCollection players = new HandHistoryPlayerCollection();
     Assert.AreSame(HandHistoryPlayer.Empty, players[3]);
 }
コード例 #5
0
ファイル: HandHistory.cs プロジェクト: hdinh/OmahaBot
 public HandHistory(HandHistoryPlayerCollection players)
 {
     _players = players;
 }