System.Numerics.Tests.ComplexTests.Sqrt_TestData C# (CSharp) Method

Sqrt_TestData() public static method

public static Sqrt_TestData ( ) : IEnumerable
return IEnumerable
        public static IEnumerable<object[]> Sqrt_TestData()
        {
            yield return new object[] { 0, 0, 0, 0 };
            yield return new object[] { 1, 0, 1, 0 };
            yield return new object[] { 0, 1, 0.707106781186547, 0.707106781186547 };
            yield return new object[] { 0, -1, 0.707106781186547, -0.707106781186547 };

            yield return new object[] { double.MaxValue, 0, 1.34078079299426E+154, 0 };
            yield return new object[] { 0, double.MaxValue, 9.48075190810917E+153, 9.48075190810917E+153 };
            yield return new object[] { 0, double.MinValue, 9.48075190810917E+153, -9.48075190810917E+153 };
        }
ComplexTests