Exemplo n.º 1
0
        public void IsCellExistWhenAdded()
        {
            Board b = new Board(2,2);

            b.GiveLife(1, 1);

            Assert.IsTrue(b.IsCellExist(1, 1));
        }
Exemplo n.º 2
0
        public void ShouldBeActiveWhenLifeGivenTwoTimesToSameCell()
        {
            Board b = new Board(2,2);

            b.GiveLife(1, 1);
            b.GiveLife(1, 1);

            Assert.IsTrue(b.IsCellExist(1, 1));
        }
Exemplo n.º 3
0
        public void InActiveCellWhenLifeNotGiven()
        {
            Board b = new Board(2,2);

            Assert.IsFalse(b.IsCellExist(1, 1));
        }