Пример #1
0
        public void blackjack_win_returns_150_pct()
        {
            // Arrange
            IBlackjackBet bet = new BlackjackBet(100);

            // Act
            bet.WinAmount().Should().Equal(150.0);
        }
Пример #2
0
 private void SwapBet()
 {
     if (Bet is AnteBet)
         Bet = new BlackjackBet(Bet.Amount);
 }