public void populateWinStateCollection_InvokedWith3Rows4Columns_DiagonalWinStatesNotCreated()
        {
            WinStateCollection winStateCollection = new WinStateCollection();

            winStateCollection.populateWinStates(3, 4);

            Assert.That(winStateCollection.getDiagonalForwardWinState() == null && winStateCollection.getDiagonalBackwardWinState() == null);
        }
Beispiel #2
0
 public void Init()
 {
     winStateCollection = new WinStateCollection();
     winStateCollection.populateWinStates(numberOfRows, numberOfColumns);
 }
 public void Init()
 {
     winStateCollection = new WinStateCollection();
     winStateCollection.populateWinStates(3, 3);
 }