@Test
    public void testResultsForOneSimulation() {
        Set<AbstractStartingHand> hands = new HashSet<AbstractStartingHand>();
        FiveCardBoard board = new FiveCardBoard();               
        int digits = 4;
        
        TexasHoldemStartingHand hand1 = new TexasHoldemStartingHand(new Card(Suit.CLUB, Rank.ACE), new Card(Suit.SPADE, Rank.ACE));
        hands.add(hand1);
        TexasHoldemStartingHand hand2 = new TexasHoldemStartingHand(new Card(Suit.CLUB, Rank.DEUCE), new Card(Suit.SPADE, Rank.THREE));
        hands.add(hand2);            
        SimulationResult result = new SimulationResult(hands, board, 1, PokerGameType.TEXAS);          
        Set<AbstractStartingHand> winningHand = new HashSet<AbstractStartingHand>();
        winningHand.add(hand1);
        result.addResultForOneSimulation(winningHand);
        
        assertEquals(100.0, result.getWinPercentageForHand(hand1, digits), 0);
        assertEquals(0, result.getLossPercentageForHand(hand1, digits), 0);
        assertEquals(0, result.getTiePercentageForHand(hand1, digits), 0);        
        assertEquals(1, result.getEquityForHand(hand1, digits), 0);
        
        assertEquals(0, result.getWinPercentageForHand(hand2, digits), 0);
        assertEquals(100.0, result.getLossPercentageForHand(hand2, digits), 0);
        assertEquals(0, result.getTiePercentageForHand(hand2, digits), 0);        
        assertEquals(0, result.getEquityForHand(hand2, digits), 0);
    }