public void SetUp() { _handHistory = new HandHistory() { ComumnityCards = BoardCards.ForFlop(Card.GetCardFromIntValue(5), Card.GetCardFromIntValue(14), Card.GetCardFromIntValue(40)), DateOfHandUtc = new DateTime(2012, 3, 20, 12, 30, 44), DealerButtonPosition = 5, FullHandHistoryText = "some hand text", GameDescription = new GameDescriptor(PokerFormat.CashGame, SiteName.PartyPoker, GameType.NoLimitHoldem, Limit.FromSmallBlindBigBlind(10, 20, Currency.USD), TableType.FromTableTypeDescriptions(TableTypeDescription.Regular), SeatType.FromMaxPlayers(6)), HandActions = new List <HandAction>() { new HandAction("Player1", HandActionType.POSTS, 0.25m, Street.Preflop) }, HandId = 141234124, NumPlayersSeated = 2, Players = new PlayerList() { new Player("Player1", 1000, 1), new Player("Player2", 300, 5), }, TableName = "Test Table", }; }
public void SetUp() { _handHistory = new HandHistory() { ComumnityCards = BoardCards.ForFlop(new Card(5), new Card(14), new Card(40)), DateOfHandUtc = new DateTime(2012, 3, 20, 12, 30, 44), DealerButtonPosition = 5, FullHandHistoryText = "some hand text", GameDescription = new GameDescriptor(PokerFormat.CashGame, SiteName.Values.PartyPoker, GameType.NoLimitHoldem, Limit.FromSmallBlindBigBlind(10, 20, Currency.USD), TableType.FromTableTypeDescriptions(TableTypeDescription.Regular), SeatType.FromMaxPlayers(6)), HandActions = new List <HandAction>() { new HandAction("Player1", HandActionType.POSTS, 0.25m, Street.Preflop) }, HandId = 141234124, NumPlayersSeated = 2, Players = new PlayerList() { new Player("Player1", 1000, 1), new Player("Player2", 300, 5), }, TableName = "Test Table", }; _handHistory.Players[0].HoleCards = new HoleCards(CardGroup.Parse("Ac Ad")); _handHistory.Players[1].HoleCards = new HoleCards(CardGroup.Parse("Kh Qs")); BsonSerializer.RegisterSerializationProvider(new TestSerializationProvider()); }
public void ParseCommunityCards_Flop() { if (!testFlop) { return; } TestBoard(BoardCards.ForFlop(Card.Parse("7h"), Card.Parse("Qs"), Card.Parse("3c"))); }
public void ParseCommunityCards_Flop() { TestBoard(BoardCards.ForFlop(Card.Parse("7h"), Card.Parse("Qs"), Card.Parse("3c"))); }