Exemplo n.º 1
0
        static void GrowTree()
        {
            if (!gameActive)
            {
                Menu();
            }

            OT.OneYearPasses();
            Menu();
        }
Exemplo n.º 2
0
        public void ShouldIncrementTheTreesAgeWithEachPassingYear()
        {
            //Act
            orangeTree.OneYearPasses();

            //Assert
            Assert.AreEqual(1, orangeTree.Age);
        }