Example #1
0
        public void TestPower()
        {
            // Assable
            TTDPrograms tDDPrograms = new TTDPrograms();
            int         baseValue   = 2;
            int         expValu     = 3;
            int         expextValue = 8;

            // Act
            int actualValue = tDDPrograms.Power(baseValue, expValu);

            // Assert
            Assert.AreEqual(expextValue, actualValue);
        }