public void Power_NegativeExponentInput_ZeroOutput() { var result = _math.TryPower(-1, -2); Assert.AreEqual(0, result); }
private double SamePart(double interest, int years) { return(_math.TryPower(1 + interest, NumberOfPayments(years))); }