Пример #1
0
        public void TellWhenLineIsFull()
        {
            var xSquare = ChipTypes.X;
            var oSquare = ChipTypes.O;
            var sut     = new ChipLine(xSquare, oSquare, xSquare);

            Assert.True(sut.IsFull());
        }
Пример #2
0
        public void TellWhenLineIsEmpty()
        {
            var sut = new ChipLine(ChipTypes.None, ChipTypes.None, ChipTypes.None);

            Assert.Equal(ChipLine.Empty, sut);
        }