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