Ejemplo n.º 1
0
 public void CanComputeNaturalLogarithm(double real, double imag, double expectedReal, double expectedImag)
 {
     var value = new Complex(real, imag);
     var expected = new Complex(expectedReal, expectedImag);
     AssertHelpers.AlmostEqual(expected, value.Ln(), 15);
 }