示例#1
0
 public void Test1()
 {
     Assert.AreEqual(1, PlayingWithDigits.digPow(89, 1));
 }
示例#2
0
 public void Test2()
 {
     Assert.AreEqual(-1, PlayingWithDigits.digPow(92, 1));
 }
示例#3
0
 public void Test3()
 {
     Assert.AreEqual(51, PlayingWithDigits.digPow(46288, 3));
 }
示例#4
0
 public void Test3()
 {
     Assert.AreEqual(2, PlayingWithDigits.digPow(695, 2));
 }