Esempio n. 1
0
        public void testSetSquareFootage()
        {
            Studio studio = new Studio();

            studio.setSquareFootage(600);
            Assert.Equal(600, studio.squareFootage);
        }
Esempio n. 2
0
        public void testUpgraderIncreasesSquareFootageOfStudio()
        {
            Studio studio = new Studio();

            studio.setSquareFootage(550);
            UnitUpgrader upgrader = new UnitUpgrader();

            upgrader.upgrade(studio);

            Assert.Equal(590, studio.squareFootage);
        }