Class PrepDeck

java.lang.Object
  extended by PrepDeck

public class PrepDeck
extends java.lang.Object

Provides methods needed to test application functionality.

Core behaviors:
  01. Stacks a deck per test specifications (implemented)

Auxiliary behaviors:
  None

Possible future behaviors:
  None.

Version:
0.0.0.1
Author:
Joe C. Summars

Constructor Summary
PrepDeck()
           
 
Method Summary
static java.lang.String[] stackDeck(java.lang.String[] handPhase, int winningSeat, java.lang.String[] winningHand)
          This method utilizes separate if blocks to construct specific stacked decks.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrepDeck

public PrepDeck()
Method Detail

stackDeck

public static java.lang.String[] stackDeck(java.lang.String[] handPhase,
                                           int winningSeat,
                                           java.lang.String[] winningHand)
This method utilizes separate if blocks to construct specific stacked decks.

Parameters:
handPhase - The phase of the current hand deal (flop, turn, river) to test for.
winningSeat - The desired winning seat number to test for.
winningHand - The kind of winning hand (i.e. SRF, HSF, CQD, HPR) to test for.
Returns:
testDeck - Reference to the stacked deck (or a nulled deck if bad test parameters are passed).