@Test
    public void testPerformSimulationWithDifferentAmountOfCardsInHands() throws InterruptedException {
        // These starting hands have about equal expected value pre-flop
        AbstractStartingHand hand1 = new TexasHoldemStartingHand();
        hand1.addCard(new Card(Suit.CLUB, Rank.ACE));
        AbstractStartingHand hand2 = new TexasHoldemStartingHand(new Card(Suit.HEART, Rank.DEUCE), new Card(Suit.SPADE, Rank.DEUCE));        
        int digits = 3;
        
        List<AbstractStartingHand> startingHands = new ArrayList<AbstractStartingHand>();
        startingHands.add(hand1);
        startingHands.add(hand2);
       
        
        AbstractPokerHandSimulator simulator = new PokerHandSimulatorVersion2(startingHands, 10000);
        SimulationResult result = simulator.performSimulation(2);
        
        // Checking that the results are sensible
        System.out.println("Hand 1 (Ace-any) EV: " + result.getEquityForHand(hand1, digits));
        System.out.println("Hand 2 (Pair of deuces) EV: " + result.getEquityForHand(hand2, digits));
        
        assertTrue(result.getEquityForHand(hand1, digits) > 0.4);
        assertTrue(result.getEquityForHand(hand1, digits) < 0.6);   
        
        assertTrue(result.getEquityForHand(hand2, digits) > 0.4);
        assertTrue(result.getEquityForHand(hand2, digits) < 0.6);
        
        assertTrue(result.getWinPercentageForHand(hand1, digits) > 40);
        assertTrue(result.getWinPercentageForHand(hand1, digits) < 60);        
        assertTrue(result.getTiePercentageForHand(hand1, digits) < 5);
        assertTrue(result.getLossPercentageForHand(hand1, digits) > 40);
        assertTrue(result.getLossPercentageForHand(hand1, digits) < 60);     
        
        assertTrue(result.getWinPercentageForHand(hand2, digits) > 40);
        assertTrue(result.getWinPercentageForHand(hand2, digits) < 60);        
        assertTrue(result.getTiePercentageForHand(hand2, digits) < 5);
        assertTrue(result.getLossPercentageForHand(hand2, digits) > 40);
        assertTrue(result.getLossPercentageForHand(hand2, digits) < 60);           
    }