Exemplo n.º 1
0
        public void TestMethod2()
        {
            //Arrange
            int n        = 1000;
            var expected = 9110846700;

            //Act
            var res = SelfPowers.Solve(n);

            //Assert
            Assert.AreEqual(expected, res);
        }
Exemplo n.º 2
0
        public void TestMethod1()
        {
            //Arrange
            int n        = 10;
            var expected = 405071317;

            //Act
            var res = SelfPowers.Solve(n);

            //Assert
            Assert.AreEqual(expected, res);
        }