public void NegativeExponentTestCase() { PowerOfANumber test = new PowerOfANumber(); double result = test.Pow(2, -10); Assert.AreEqual(Math.Pow(2, -10), result); }
public void EdgeExponentTestCase() { PowerOfANumber test = new PowerOfANumber(); double result = test.Pow(2000, -32000); Assert.AreEqual(Math.Pow(2000, -32000), result); }
public void VanillaTestCase() { PowerOfANumber test = new PowerOfANumber(); double result = test.Pow(2, 10); Assert.AreEqual(Math.Pow(2, 10), result); }