Example #1
0
 public void Given_888023_When_pow_3_Then_70028148()
 {
     Assert.AreEqual(700.28148d, MathPow.MyPow(8.88023d, 3));
 }
Example #2
0
 public void Given_2_When_pow_0_Then_1()
 {
     Assert.AreEqual(1, MathPow.MyPow(2, 0));
 }
Example #3
0
 public void Given_2_When_pow_2_Then_4()
 {
     Assert.AreEqual(4, MathPow.MyPow(2, 2));
 }