コード例 #1
0
        public void TestMethod2()
        {
            //Arrange
            int n        = 5;
            int expected = 443839;

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

            //Assert
            Assert.AreEqual(expected, res);
        }
コード例 #2
0
        public void TestMethod1()
        {
            //Arrange
            int n        = 4;
            int expected = 19316;

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

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