예제 #1
0
        public void Exercise2_Method2()
        {
            CellAbleitung cell  = new CellAbleitung();
            Cell          cellO = new Cell();

            Assert.Equal(cellO.Grow() * 2, cell.Grow());
        }
예제 #2
0
        public bool Method3(int o1)
        {
            CellAbleitung cell = new CellAbleitung();

            return(cell.IsAlive());
        }
예제 #3
0
        public int Method2()
        {
            CellAbleitung cell = new CellAbleitung();

            return(cell.Grow());
        }
예제 #4
0
        public void Exercise2_Method3_False()
        {
            CellAbleitung cell = new CellAbleitung();

            Assert.False(cell.IsAlive(5));
        }
예제 #5
0
        public void Exercise2_Method3_True()
        {
            CellAbleitung cell = new CellAbleitung();

            Assert.True(cell.IsAlive(4));
        }