Пример #1
0
            public void TestPower()
            {
                HigherMath cls = new HigherMath();

                Assert.AreEqual(27, cls.Power(3, 3));
                Assert.AreEqual(1, cls.Power(34, 0));
                Assert.AreEqual(0, cls.Power(0, 6));
                Assert.AreEqual(1, cls.Power(1, 3));
                Assert.AreEqual(5, cls.Power(5, 1));
            }
Пример #2
0
            public void TestPower()
            {
                HigherMath cls = new HigherMath();

                Assert.AreEqual(27, cls.Power(3, 3));
            }