public void TestMethod2() { //Arrange int n = 1000; var expected = 9110846700; //Act var res = SelfPowers.Solve(n); //Assert Assert.AreEqual(expected, res); }
public void TestMethod1() { //Arrange int n = 10; var expected = 405071317; //Act var res = SelfPowers.Solve(n); //Assert Assert.AreEqual(expected, res); }