public void IsWinningBetWithNoWinningValue() { RouletteGame.Bet bet = new RouletteGame.Bet() { WinningNumbers = new byte[] { 2 }, Payout = 35, BetAmount = 100 }; Assert.AreEqual(false, RouletteGame.Game.IsWinningBet(bet, 1)); }
public void PlaceBet(Bet bet) { if (_roundIsOpen) _bets.Add(bet); else throw new RouletteGameException("Bet placed while round closed"); }