Beispiel #1
0
        public GameManager(ICombinationTypeEvaluator combinationTypeEvaluator)
        {
            _activePlayers  = new List <Player>();
            _joiningPlayers = new Queue <Player>();
            _leavingPlayers = new Queue <Player>();
            _deck           = new Deck();
            _revealedCards  = new List <Card>();
            _rounds         = new List <Round>();

            _combinationTypeEvaluator = combinationTypeEvaluator;
        }
 public void Initialize()
 {
     combinationTypeEvaluator = new CombinationTypeEvaluator();
     unitUnderTest            = new GameManager(combinationTypeEvaluator);
 }
Beispiel #3
0
 public void TestInitialize()
 {
     unitUnderTest = new CombinationTypeEvaluator();
 }